mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
also test \ is escaped
This commit is contained in:
@@ -14,7 +14,7 @@ func TestEncodeJSON(t *testing.T) {
|
||||
tests := map[string]string{
|
||||
"a b\nc\td\a": `a b\nc\td\u0007`,
|
||||
"•": `\u2022`,
|
||||
`a"b`: `a\"b`,
|
||||
`a"b\c`: `a\"b\\c`,
|
||||
"\U0001f123": `\ud83c\udd23`,
|
||||
}
|
||||
var s escaped_string
|
||||
|
||||
Reference in New Issue
Block a user