diff options
Diffstat (limited to 'src/pkg/json/decode_test.go')
-rw-r--r-- | src/pkg/json/decode_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/json/decode_test.go b/src/pkg/json/decode_test.go index 9e7d810ce..edbd9c886 100644 --- a/src/pkg/json/decode_test.go +++ b/src/pkg/json/decode_test.go @@ -24,6 +24,7 @@ var unmarshalTests = []unmarshalTest{ unmarshalTest{`1.2`, new(float), 1.2}, unmarshalTest{`-5`, new(int16), int16(-5)}, unmarshalTest{`"a\u1234"`, new(string), "a\u1234"}, + unmarshalTest{`"http:\/\/"`, new(string), "http://"}, unmarshalTest{`"g-clef: \uD834\uDD1E"`, new(string), "g-clef: \U0001D11E"}, unmarshalTest{`"invalid: \uD834x\uDD1E"`, new(string), "invalid: \uFFFDx\uFFFD"}, unmarshalTest{"null", new(interface{}), nil}, |