Skip to content

Commit

Permalink
TCHECK-137: Self-host tests not runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
mfikes authored and gfredericks committed Dec 7, 2017
1 parent 1a0000d commit 51c39a5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
1 change: 1 addition & 0 deletions script/test-self-host.clj
Expand Up @@ -14,4 +14,5 @@

(copy-source "cljs/test.cljc")
(copy-source "cljs/analyzer/api.cljc")
(copy-source "cljs/reader.clj")
(copy-source "clojure/template.clj")

This file was deleted.

@@ -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)))
1 change: 0 additions & 1 deletion src/target/cljs/self-host/clojure/test/check/test/aux.cljs
Expand Up @@ -81,7 +81,6 @@
goog.iter.Iterator
goog.json
goog.json.EvalJsonProcessor
goog.json.HybridJsonProcessor
goog.json.NativeJsonProcessor
goog.json.Replacer
goog.json.Reviver
Expand Down

0 comments on commit 51c39a5

Please sign in to comment.