Fix tests
This commit is contained in:
parent
6d2b026dd2
commit
49c2661cf6
1 changed files with 5 additions and 4 deletions
|
|
@ -542,10 +542,11 @@
|
|||
(is (str/includes? (test-utils/bb "(ns foo) ::foo" "--repl") ":foo/foo"))
|
||||
(is (str/includes? (test-utils/bb "[*warn-on-reflection* (set! *warn-on-reflection* true) *warn-on-reflection*]")
|
||||
"[false true true]"))
|
||||
(let [sw (java.io.StringWriter.)]
|
||||
(sci/with-bindings {sci/err sw}
|
||||
(test-utils/bb {:in "x" :err sw} "--repl"))
|
||||
(is (str/includes? (str sw) "Could not resolve symbol: x [at <repl>:1:1]"))))
|
||||
(when-not test-utils/native?
|
||||
(let [sw (java.io.StringWriter.)]
|
||||
(sci/with-bindings {sci/err sw}
|
||||
(test-utils/bb {:in "x" :err sw} "--repl"))
|
||||
(is (str/includes? (str sw) "Could not resolve symbol: x [at <repl>:1:1]")))))
|
||||
|
||||
;;;; Scratch
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue