Skip to content

Commit 404cea2

Browse files
committed
Update lexer quotes tests
1 parent 20835b5 commit 404cea2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser2/lexer/lexer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ var lexTests = []lexTest{
3333
},
3434
},
3535
{
36-
`"double" 'single' "abc \n\t\"\\" '"' "'" "\xC3\xBF\u263A\U000003A8" '❤️'`,
36+
`"double" 'single' "abc \n\t\"\\" '"\'' "'\"" "\xC3\xBF\u263A\U000003A8" '❤️'`,
3737
[]Token{
3838
{Kind: String, Value: "double"},
3939
{Kind: String, Value: "single"},
4040
{Kind: String, Value: "abc \n\t\"\\"},
41-
{Kind: String, Value: "\""},
42-
{Kind: String, Value: "'"},
41+
{Kind: String, Value: "\"'"},
42+
{Kind: String, Value: "'\""},
4343
{Kind: String, Value: "ÿ☺Ψ"},
4444
{Kind: String, Value: "❤️"},
4545
{Kind: EOF},

0 commit comments

Comments
 (0)