Tests: Corrected lexer text '\''
This commit is contained in:
@@ -261,7 +261,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 }, },
|
||||||
{ "\"\\u20A43\"", { { "\"₤3\"", Lexer::Type::string }, NO, NO, NO, NO }, },
|
{ "\"\\u20A43\"", { { "\"₤3\"", Lexer::Type::string }, NO, NO, NO, NO }, },
|
||||||
|
|||||||
Reference in New Issue
Block a user