Fix JSON test

This commit is contained in:
shhyou 2020-12-23 13:23:19 -06:00 committed by shuhung
parent f4cd7ab8a0
commit f6b7f93895

View File

@ -88,7 +88,7 @@
;; and that the same holds for keys
(jsexpr->string (string->jsexpr "{\"\U0010FFFF\":\"\U0010FFFF\"}"))
=> "{\"\U0010FFFF\":\"\U0010FFFF\"}"
(jsexpr->string #hash[(a . 1) (b . 2)]) => "{\"a\":1, \"b\":2}"
(jsexpr->string #hash[(a . 1) (b . 2)]) => "{\"a\":1,\"b\":2}"
(jsexpr->string (string->jsexpr "{\"\U0010FFFF\":\"\U0010FFFF\"}")
#:encode 'all)
=> "{\"\\udbff\\udfff\":\"\\udbff\\udfff\"}"