mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
also test \ is escaped
This commit is contained in:
parent
0ab618c2dc
commit
d235b673d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue