From 1c2500a8a16a4e1f96fa7c35d391383f5551540d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 19 Jul 2015 23:17:43 -0400 Subject: [PATCH] Test: Added more Lexer UUID tests, which are needed --- test/lexer.t.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lexer.t.cpp b/test/lexer.t.cpp index 4207e2917..5635e032d 100644 --- a/test/lexer.t.cpp +++ b/test/lexer.t.cpp @@ -37,7 +37,7 @@ Context context; //////////////////////////////////////////////////////////////////////////////// int main (int argc, char** argv) { - UnitTest t (1088); + UnitTest t (1100); std::vector > tokens; std::string token; @@ -379,6 +379,8 @@ int main (int argc, char** argv) { "ordinary", { { "ordinary", Lexer::Type::dom }, NO, NO, NO, NO }, }, // UUID + { "ffffffff-ffff-ffff-ffff-ffffffffffff", { { "ffffffff-ffff-ffff-ffff-ffffffffffff", Lexer::Type::uuid }, NO, NO, NO, NO }, }, + { "00000000-0000-0000-0000-000000000000", { { "00000000-0000-0000-0000-000000000000", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "a360fc44-315c-4366-b70c-ea7e7520b749", { { "a360fc44-315c-4366-b70c-ea7e7520b749", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "a360fc44-315c-4366-b70c-ea7e752", { { "a360fc44-315c-4366-b70c-ea7e752", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "a360fc44-315c-4366-b70c", { { "a360fc44-315c-4366-b70c", Lexer::Type::uuid }, NO, NO, NO, NO }, },