diff options
Diffstat (limited to 'src/clojure/contrib/json')
-rw-r--r-- | src/clojure/contrib/json/read.clj | 2 | ||||
-rw-r--r-- | src/clojure/contrib/json/write.clj | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/clojure/contrib/json/read.clj b/src/clojure/contrib/json/read.clj index 8070fc37..e9c7a3f2 100644 --- a/src/clojure/contrib/json/read.clj +++ b/src/clojure/contrib/json/read.clj @@ -48,7 +48,7 @@ :see-also [["http://www.json.org", "JSON Home Page"]]} clojure.contrib.json.read (:import (java.io PushbackReader StringReader EOFException)) - (:use [clojure.contrib.test-is :only (deftest- is)])) + (:use [clojure.test :only (deftest- is)])) (declare read-json) diff --git a/src/clojure/contrib/json/write.clj b/src/clojure/contrib/json/write.clj index 9db4a979..5f56f211 100644 --- a/src/clojure/contrib/json/write.clj +++ b/src/clojure/contrib/json/write.clj @@ -45,7 +45,7 @@ Within strings, all non-ASCII characters are hexadecimal escaped. :see-also [["http://json.org/", "JSON Home Page"]]} clojure.contrib.json.write (:require [clojure.contrib.java-utils :as j]) - (:use [clojure.contrib.test-is :only (deftest- is)])) + (:use [clojure.test :only (deftest- is)])) (defmulti #^{:doc "Prints x as JSON. Nil becomes JSON null. Keywords become @@ -145,9 +145,9 @@ Within strings, all non-ASCII characters are hexadecimal escaped. ;;; TESTS ;; Run these tests with -;; (clojure.contrib.test-is/run-tests 'clojure.contrib.print-json) +;; (clojure.test/run-tests 'clojure.contrib.print-json) -;; Bind clojure.contrib.test-is/*load-tests* to false to omit these +;; Bind clojure.test/*load-tests* to false to omit these ;; tests from production code. (deftest- can-print-json-strings |