From 2c4d4ad649907a06da89f4f6de4d80009b84a01d Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Tue, 7 Jul 2020 10:14:21 +0200 Subject: [PATCH] Test: Add UUID test demonstrating a "Cannot subtract strings" bug $ task 0000000d-000a-0000-0000-000000000000 export Cannot subtract strings $ task 0000000d-0000-0000-0000-000000000000 export The expression could not be evaluated. --- test/lexer.t.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lexer.t.cpp b/test/lexer.t.cpp index 24d804b01..1aa1519e7 100644 --- a/test/lexer.t.cpp +++ b/test/lexer.t.cpp @@ -421,6 +421,7 @@ int main (int, char**) // UUID { "ffffffff-ffff-ffff-ffff-ffffffffffff", { { "ffffffff-ffff-ffff-ffff-ffffffffffff", Lexer::Type::uuid }, NO, NO, NO, NO }, }, + { "0000000d-0000-0000-0000-000000000000", { { "0000000d-0000-0000-0000-000000000000", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "00000000-0000-0000-0000-0000000", { { "00000000-0000-0000-0000-0000000", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "00000000-0000-0000-0000", { { "00000000-0000-0000-0000", Lexer::Type::uuid }, NO, NO, NO, NO }, }, { "00000000-0000-0000", { { "00000000-0000-0000", Lexer::Type::uuid }, NO, NO, NO, NO }, },