X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fjson%2Freader%2Freader-tests.factor;h=430be777bcb1e5757e70c5953f2d6540b53d1bbd;hp=bac8c96e1affe3f46f1097a3d65219c54d4a3ac9;hb=943596575ad294c074dfa381b70af74dba5992b1;hpb=e738c7206c32bd9b76f3cee31e950835e1b1ee24 diff --git a/basis/json/reader/reader-tests.factor b/basis/json/reader/reader-tests.factor index bac8c96e1a..430be777bc 100644 --- a/basis/json/reader/reader-tests.factor +++ b/basis/json/reader/reader-tests.factor @@ -31,7 +31,7 @@ IN: json.reader.tests ! unicode is allowed in json { "ß∂¬ƒ˚∆" } [ """ "ß∂¬ƒ˚∆"""" json> ] unit-test { 8 9 10 12 13 34 47 92 } >string 1array [ """ "\\b\\t\\n\\f\\r\\"\\/\\\\" """ json> ] unit-test -{ HEX: abcd } >string 1array [ """ "\\uaBCd" """ json> ] unit-test +{ 0xabcd } >string 1array [ """ "\\uaBCd" """ json> ] unit-test { H{ { "a" { } } { "b" 123 } } } [ "{\"a\":[],\"b\":123}" json> ] unit-test { { } } [ "[]" json> ] unit-test