Skip to content

Commit 2dbc985

Browse files
committed
change the way the we were running the tests for data literals. It appears there's a
different class loader when using the REPL - w/o that loader the data literal tests fail due to record class not being found. instead of going through -main to kick off the tests go through an interactive path where Clojure REPL bits will probably get loaded.
1 parent b5f1860 commit 2dbc985

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

deps.edn

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{:paths ["src/main/clojure" "src/main/cljs" "resources"]
22
:deps
3-
{org.clojure/clojure {:mvn/version "1.9.0"}
3+
{org.clojure/clojure {:mvn/version "1.10.0"}
44
org.clojure/tools.reader {:mvn/version "1.3.2"}
55
org.clojure/test.check {:mvn/version "0.10.0-alpha3"}
66
org.clojure/spec.alpha {:mvn/version "0.1.143"}
@@ -13,7 +13,6 @@
1313
{:runtime.test.build {:extra-paths ["src/test/cljs"]
1414
:main-opts ["-m" "cljs.main" "-co" "resources/test.edn" "-c"]}
1515
:compiler.test {:extra-paths ["src/test/cljs" "src/test/cljs_build" "src/test/cljs_cp"
16-
"src/test/clojure" "src/test/self"]
17-
:extra-deps {com.cognitect/test-runner {:git/url "https://github.com/cognitect-labs/test-runner.git"
18-
:sha "f7ef16dc3b8332b0d77bc0274578ad5270fbfedd"}}}
19-
:compiler.test.run {:main-opts ["-m" "cljs.test-runner"]}}}
16+
"src/test/clojure" "src/test/self"]}
17+
:compiler.test.run {:main-opts ["-i" "src/test/clojure/cljs/test_runner.clj"
18+
"-e" "(cljs.test-runner/-main)"]}}}

0 commit comments

Comments
 (0)