diff --git a/test/lexer.t.cpp b/test/lexer.t.cpp index ace4a2e66..05746d981 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 (1069); + UnitTest t (1087); std::vector > tokens; std::string token; @@ -422,7 +422,9 @@ int main (int argc, char** argv) { "(+tag)", { { "(", Lexer::Type::op }, { "+tag", Lexer::Type::tag }, { ")", Lexer::Type::op }, NO, NO }, }, - + { "(name:value)", { { "(", Lexer::Type::op }, + { "name:value", Lexer::Type::pair }, + { ")", Lexer::Type::op }, NO, NO }, }, }; #define NUM_TESTS (sizeof (lexerTests) / sizeof (lexerTests[0]))