From f6accef688ae3d4cf0c43ae3a8ac2db6a89effeb Mon Sep 17 00:00:00 2001 From: Genevieve Date: Tue, 11 Jan 2022 13:24:02 -0800 Subject: [PATCH] Update value_test.go Co-authored-by: Dylan Thacker-Smith --- value_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/value_test.go b/value_test.go index f235dfed..073d8957 100644 --- a/value_test.go +++ b/value_test.go @@ -81,7 +81,7 @@ func TestValueString(t *testing.T) { }{ {"Number", `13 * 2`, "26"}, {"String", `"string"`, "string"}, - {"String with null terminators and Unicode", "String.fromCharCode(0, 55358, 56614, 8205, 9794, 65039, 0, 1040, 1041, 1042, 0, 97, 98, 99, 100)", "\x00\U0001f926\u200d\u2642\ufe0f\x00АБВ\x00abcd"}, + {"String with null character and non-latin unicode", `"a\x00Ω"`, "a\x00Ω"}, {"Object", `let obj = {}; obj`, "[object Object]"}, {"Function", `let fn = function(){}; fn`, "function(){}"}, }