File tree Expand file tree Collapse file tree 1 file changed +26
-27
lines changed
Expand file tree Collapse file tree 1 file changed +26
-27
lines changed Original file line number Diff line number Diff line change 133133 (w/qput q :finish )
134134 (Thread/sleep 100 )
135135
136- (is (match?
137- (matchers/equals
138- [" [(F)]"
139- " "
140- (str/replace " FAIL in foo.bar-test/xxx-test (bar_test.clj:1)" " foo" prefix)
141- " Expected:"
142- " :xxx"
143- " Actual: "
144- " -:xxx +:yyy"
145- " 1 tests, 1 assertions, 1 failures."
146- " "
147- (format " bin/kaocha --config-file %s --focus '%s.bar-test/xxx-test'" (str config-file) prefix)
148- " "
149- (str/replace " [watch] Reloading #{foo.bar-test}" " foo" prefix)
150- (str/replace " [watch] Re-running failed tests #{:foo.bar-test/xxx-test}" " foo" prefix)
151- " [(F)]"
152- " "
153- (str/replace " FAIL in foo.bar-test/xxx-test (bar_test.clj:1)" " foo" prefix)
154- " Expected:"
155- " :xxx"
156- " Actual:"
157- " -:xxx +:zzz"
158- " 1 tests, 1 assertions, 1 failures."
159- " "
160- (format " bin/kaocha --config-file %s --focus '%s.bar-test/xxx-test'" (str config-file) prefix)
161- ])
162- (str/split-lines @out-str)))))
136+ (is (=
137+ [" [(F)]"
138+ " "
139+ (str/replace " FAIL in foo.bar-test/xxx-test (bar_test.clj:1)" " foo" prefix)
140+ " Expected:"
141+ " :xxx"
142+ " Actual:"
143+ " -:xxx +:yyy"
144+ " 1 tests, 1 assertions, 1 failures."
145+ " "
146+ (format " bin/kaocha --config-file %s --focus '%s.bar-test/xxx-test'" (str config-file) prefix)
147+ " "
148+ (str/replace " [watch] Reloading #{foo.bar-test}" " foo" prefix)
149+ (str/replace " [watch] Re-running failed tests #{:foo.bar-test/xxx-test}" " foo" prefix)
150+ " [(F)]"
151+ " "
152+ (str/replace " FAIL in foo.bar-test/xxx-test (bar_test.clj:1)" " foo" prefix)
153+ " Expected:"
154+ " :xxx"
155+ " Actual:"
156+ " -:xxx +:zzz"
157+ " 1 tests, 1 assertions, 1 failures."
158+ " "
159+ (format " bin/kaocha --config-file %s --focus '%s.bar-test/xxx-test'" (str config-file) prefix)
160+ ]
161+ (str/split-lines @out-str)))))
163162
164163(deftest ignore-files-merged
165164 (let [{:keys [_config-file test-dir] :as m} (integration/test-dir-setup {})]
You can’t perform that action at this time.
0 commit comments