2 parents 9af2d31 + e10d0a2 commit a51b540Copy full SHA for a51b540
1 file changed
test/cheshire/test/core.clj
@@ -399,7 +399,7 @@
399
{:allow-unquoted-control-chars false})]
400
(is (thrown? JsonParseException (json/decode s))))))
401
402
-(deftest t-bindable-factories-allow-backslash-escaping-any-char
+(deftest t-bindable-factories-allow-numeric-leading-zeros
403
(let [s "{\"a\": 00000000001}"]
404
(binding [fact/*json-factory* (fact/make-json-factory
405
{:allow-numeric-leading-zeros true})]
@@ -408,7 +408,7 @@
408
{:allow-numeric-leading-zeros false})]
409
410
411
-(deftest t-bindable-factories-allow-numeric-leading-zeros
+(deftest t-bindable-factories-allow-backslash-escaping-any-char
412
(let [s "{\"a\": \"\\o\\n\\e\"}"]
413
414
{:allow-backslash-escaping true})]
0 commit comments