Tests: Corrected lexer test "\"three\""

This commit is contained in:
Paul Beckingham 2015-03-29 22:59:27 -04:00
parent 5af3f71ac5
commit cfbdd4bc05

View file

@ -260,7 +260,7 @@ int main (int argc, char** argv)
// String // String
{ "'one two'", { { "'one two'", Lexer::Type::string }, NO, NO, NO, NO }, }, { "'one two'", { { "'one two'", Lexer::Type::string }, NO, NO, NO, NO }, },
{ "\\\"three\\\"", { { "\\\"three\\\"", Lexer::Type::string }, NO, NO, NO, NO }, }, { "\"three\"", { { "\"three\"", Lexer::Type::string }, NO, NO, NO, NO }, },
{ "'\\''", { { "'\\''", Lexer::Type::string }, NO, NO, NO, NO }, }, { "'\\''", { { "'\\''", Lexer::Type::string }, NO, NO, NO, NO }, },
{ "\"\\\"\"", { { "\"\\\"\"", Lexer::Type::string }, NO, NO, NO, NO }, }, { "\"\\\"\"", { { "\"\\\"\"", Lexer::Type::string }, NO, NO, NO, NO }, },
{ "\"\tfoo\t\"", { { "\"\tfoo\t\"", Lexer::Type::string }, NO, NO, NO, NO }, }, { "\"\tfoo\t\"", { { "\"\tfoo\t\"", Lexer::Type::string }, NO, NO, NO, NO }, },