Skip to content
Browse files

Test for CTYP-37.

  • Loading branch information...
1 parent 4630121 commit 1d79998b31103b61b67d58e964a6cc90c9718405 @frenchy64 frenchy64 committed Sep 15, 2013
View
5 src/test/clojure/clojure/core/typed/test/core.clj
@@ -1994,6 +1994,11 @@
(u/top-level-error-thrown?
(cf {:a "a"} (HMap :absent-keys #{:a})))))
+(deftest CTYP-37-defprotocol-better-error
+ (is (u/top-level-error-thrown?
+ (check-ns 'clojure.core.typed.test.fail.CTYP-37))))
+
+
;(reset-caches)
;(chk/abstract-result
View
2 ...lojure/core/typed/test/succeed/CTYP37.clj → .../clojure/core/typed/test/fail/CTYP_37.clj
@@ -1,4 +1,4 @@
-(ns clojure.core.typed.test.succeed.CTYP37
+(ns clojure.core.typed.test.fail.CTYP-37
(:require [clojure.core.typed :as t]))
(t/ann-protocol PProcess

0 comments on commit 1d79998

Please sign in to comment.
Something went wrong with that request. Please try again.