Skip to content

Commit 1dc8802

Browse files
committed
Tidy test and revert change to expected output.
1 parent 3329f1f commit 1dc8802

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

test/unit/kaocha/watch_test.clj

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,14 @@
132132
(Thread/sleep 100)
133133

134134
(is (str/includes?
135-
@out-str
135+
@out-str
136136
(str/replace
137137
(str/replace
138-
139-
"[(F)]\n\nFAIL in foo.bar-test/xxx-test (bar_test.clj:1)\nExpected:\n :xxx\nActual:\n -:xxx +:zzz\n1 tests, 1 assertions, 1 failures.\n\nbin/kaocha --config-file PATH --focus 'foo.bar-test/xxx-test'\n\n[watch] Reloading #{foo.bar-test}\n[watch] Re-running failed tests #{:foo.bar-test/xxx-test}\n[(F)]\n\nFAIL in foo.bar-test/xxx-test (bar_test.clj:1)\nExpected:\n :xxx\nActual:\n -:xxx +:zzz"
140-
141-
"foo"
142-
prefix)
138+
"[(F)]\n\nFAIL in foo.bar-test/xxx-test (bar_test.clj:1)\nExpected:\n :xxx\nActual:\n -:xxx +:yyy\n1 tests, 1 assertions, 1 failures.\n\nbin/kaocha --config-file PATH --focus 'foo.bar-test/xxx-test'\n\n[watch] Reloading #{foo.bar-test}\n[watch] Re-running failed tests #{:foo.bar-test/xxx-test}\n[(F)]\n\nFAIL in foo.bar-test/xxx-test (bar_test.clj:1)\nExpected:\n :xxx\nActual:\n -:xxx +:zzz"
139+
"foo"
140+
prefix)
143141
"PATH"
144-
(str config-file)
145-
)))))
142+
(str config-file))))))
146143

147144
(deftest ignore-files-merged
148145
(let [{:keys [_config-file test-dir] :as m} (integration/test-dir-setup {})]

0 commit comments

Comments
 (0)