diff options
-rw-r--r-- | modules/json/src/test/clojure/clojure/contrib/test_json.clj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/json/src/test/clojure/clojure/contrib/test_json.clj b/modules/json/src/test/clojure/clojure/contrib/test_json.clj index df3409ec..ccd38969 100644 --- a/modules/json/src/test/clojure/clojure/contrib/test_json.clj +++ b/modules/json/src/test/clojure/clojure/contrib/test_json.clj @@ -153,6 +153,9 @@ (deftest can-print-ratios-as-doubles (is (= "0.75" (json-str 3/4)))) +(deftest can-print-bigints + (is (= "12345678901234567890" (json-str 12345678901234567890)))) + (deftest can-print-json-arrays (is (= "[1,2,3]" (json-str [1 2 3]))) (is (= "[1,2,3]" (json-str (list 1 2 3)))) |