We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed20ade commit 853260dCopy full SHA for 853260d
1 file changed
src/test/cljs_cli/cljs_cli/util.clj
@@ -75,7 +75,7 @@
75
"-re" *repl-env*
76
(when *repl-opts* "-ro") (when *repl-opts* *repl-opts*)]
77
command-line-args))))
78
- {:exit 0 :out "" :err ""}))
+ {:exit 0 :out "" :err "" :repl-env-filtered true}))
79
80
(def ^:private expected-browser-err
81
"Compiling client js ...\nServing HTTP on localhost port 9000\nListening for browser REPL connect ...\n")
@@ -89,5 +89,6 @@
89
(defn output-is [result & expected-lines]
90
(is (zero? (:exit result)))
91
(maybe-print-result-err result)
92
- (is (= (apply str (map print-str (interleave expected-lines (repeat "\n"))))
93
- (:out result))))
+ (when-not (:repl-env-filtered result)
+ (is (= (apply str (map print-str (interleave expected-lines (repeat "\n"))))
94
+ (:out result)))))
0 commit comments