diff options
author | Stuart Halloway <stu@thinkrelevance.com> | 2009-04-09 00:11:59 +0000 |
---|---|---|
committer | Stuart Halloway <stu@thinkrelevance.com> | 2009-04-09 00:11:59 +0000 |
commit | 2840313f5286f2f5f30e82b0768f265128d31680 (patch) | |
tree | c1f17adad9ca07c5c81ccfa3ef7350bb01cc22e4 /src/clojure/contrib/test_contrib/test_java_utils.clj | |
parent | bb83d87f6bf3658b378d31af89377c1edbe6aaf2 (diff) |
breaking change: rename the-str to as-str
Diffstat (limited to 'src/clojure/contrib/test_contrib/test_java_utils.clj')
-rw-r--r-- | src/clojure/contrib/test_contrib/test_java_utils.clj | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/clojure/contrib/test_contrib/test_java_utils.clj b/src/clojure/contrib/test_contrib/test_java_utils.clj index 427babca..21a4addc 100644 --- a/src/clojure/contrib/test_contrib/test_java_utils.clj +++ b/src/clojure/contrib/test_contrib/test_java_utils.clj @@ -32,15 +32,15 @@ (is (thrown? IllegalArgumentException (file "foo" "bar" "/boom" "baz" "quux")))) ) -(deftest test-the-str +(deftest test-as-str (testing "keyword to string" - (is (= "foo") (the-str :foo))) + (is (= "foo") (as-str :foo))) (testing "symbol to string" - (is (= "foo") (the-str 'foo))) + (is (= "foo") (as-str 'foo))) (testing "string to string" - (is (= "foo") (the-str "foo"))) + (is (= "foo") (as-str "foo"))) (testing "stringifying non-namish things" - (is (= "42") (the-str 42))) + (is (= "42") (as-str 42))) ) (deftest test-get-system-property |