Skip to content

Commit a51b540

Browse files
authored
Merge pull request #244 from esnyder/fix-swapped-test-names
Fix the test names to match their contents.
2 parents 9af2d31 + e10d0a2 commit a51b540

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/cheshire/test/core.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399
{:allow-unquoted-control-chars false})]
400400
(is (thrown? JsonParseException (json/decode s))))))
401401

402-
(deftest t-bindable-factories-allow-backslash-escaping-any-char
402+
(deftest t-bindable-factories-allow-numeric-leading-zeros
403403
(let [s "{\"a\": 00000000001}"]
404404
(binding [fact/*json-factory* (fact/make-json-factory
405405
{:allow-numeric-leading-zeros true})]
@@ -408,7 +408,7 @@
408408
{:allow-numeric-leading-zeros false})]
409409
(is (thrown? JsonParseException (json/decode s))))))
410410

411-
(deftest t-bindable-factories-allow-numeric-leading-zeros
411+
(deftest t-bindable-factories-allow-backslash-escaping-any-char
412412
(let [s "{\"a\": \"\\o\\n\\e\"}"]
413413
(binding [fact/*json-factory* (fact/make-json-factory
414414
{:allow-backslash-escaping true})]

0 commit comments

Comments
 (0)