From 1117fdf0cb1c472cf655bb239c5a2a65978c8da5 Mon Sep 17 00:00:00 2001 From: Nathan Braswell Date: Sun, 3 Nov 2013 20:44:07 -0500 Subject: [PATCH] Fix a Lexer test --- src/Lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lexer.cpp b/src/Lexer.cpp index ce6ad93..b9cb367 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -89,7 +89,7 @@ void Lexer::test() { lex.setInput("blah"); s = lex.next(); assert(s.getName() == "a|b" && s.getValue() == "b"); - assert(lex.next() == Symbol()); + assert(lex.next() == Symbol("$INVALID$", true)); } // Lexer can consume all the input at once.