File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/test/cljs_cli/cljs_cli Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7575 " -re" *repl-env*
7676 (when *repl-opts* " -ro" ) (when *repl-opts* *repl-opts*)]
7777 command-line-args))))
78- {:exit 0 :out " " :err " " }))
78+ {:exit 0 :out " " :err " " :repl-env-filtered true }))
7979
8080(def ^:private expected-browser-err
8181 " Compiling client js ...\n Serving HTTP on localhost port 9000\n Listening for browser REPL connect ...\n " )
8989(defn output-is [result & expected-lines]
9090 (is (zero? (:exit result)))
9191 (maybe-print-result-err result)
92- (is (= (apply str (map print-str (interleave expected-lines (repeat " \n " ))))
93- (:out result))))
92+ (when-not (:repl-env-filtered result)
93+ (is (= (apply str (map print-str (interleave expected-lines (repeat " \n " ))))
94+ (:out result)))))
You can’t perform that action at this time.
0 commit comments