This commit is contained in:
Kovid Goyal
2022-12-13 10:20:02 +05:30
parent fefafda9a0
commit 0ab618c2dc
3 changed files with 5 additions and 4 deletions

View File

@@ -14,6 +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`,
"\U0001f123": `\ud83c\udd23`,
}
var s escaped_string