Skip to content

Commit

Permalink
Fix watch-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
alysbrooks committed Apr 8, 2023
1 parent 14afcb2 commit 3329f1f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/unit/kaocha/watch_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,16 @@

(is (str/includes?
@out-str
(str/replace
(str/replace
(str/replace

"[(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\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"
"[(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"

"foo"
prefix)))))
prefix)
"PATH"
(str config-file)
)))))

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

0 comments on commit 3329f1f

Please sign in to comment.