diff options
-rw-r--r-- | test/clojure/test_clojure/test.clj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/clojure/test_clojure/test.clj b/test/clojure/test_clojure/test.clj index aa1fea2d..b96cb60f 100644 --- a/test/clojure/test_clojure/test.clj +++ b/test/clojure/test_clojure/test.clj @@ -72,9 +72,11 @@ (is (re-find #"ab" "abbabba") "Should pass") (is (re-find #"cd" "abbabba") "Should fail")) +(deftest #^{:has-meta true} can-add-metadata-to-tests + (is (:has-meta ^#'can-add-metadata-to-tests) "Should pass")) ;; still have to declare the symbol before testing unbound symbols -(declare does-not-exist) +(declare does-not-exist) (deftest can-test-unbound-symbol (is (= nil does-not-exist) "Should error")) |