diff --git a/test/babashka/main_test.clj b/test/babashka/main_test.clj index 11303f94..d35cd5ff 100644 --- a/test/babashka/main_test.clj +++ b/test/babashka/main_test.clj @@ -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 :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 :1:1]"))))) ;;;; Scratch