Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TCHECK-137: Self-host tests not runnable
- Loading branch information
1 parent
1a0000d
commit 51c39a5
Showing
4 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/main/clojure/clojure/test/check/clojure_test/assertions/cljs.clj
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
src/main/clojure/clojure/test/check/clojure_test/assertions/cljs.cljc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
(ns clojure.test.check.clojure-test.assertions.cljs) | ||
|
||
#?(:clj | ||
(try | ||
(require 'cljs.test | ||
'[clojure.test.check.clojure-test.assertions :as assertions]) | ||
|
||
(eval | ||
'(defmethod cljs.test/assert-expr 'clojure.test.check.clojure-test/check? | ||
[_ msg form] | ||
(assertions/check? msg form))) | ||
(catch java.io.FileNotFoundException e)) | ||
:cljs | ||
(defmethod cljs.test$macros/assert-expr 'clojure.test.check.clojure-test/check? | ||
[_ msg form] | ||
(clojure.test.check.clojure-test.assertions/check? msg form))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters