Skip to content

Commit

Permalink
Merge pull request weavejester#62 from aviflax/fix-test
Browse files Browse the repository at this point in the history
Fix failing test
  • Loading branch information
weavejester authored Jan 6, 2019
2 parents 6f839ae + d5aca16 commit 495a252
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eftest/test/eftest/report_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@
(sut/run-tests {:report (report/report-to-file junit/report "target/test-out/junit.xml")}))
(is (string? (slurp "target/test-out/junit.xml"))))

(def this-ns *ns*)

(deftest file-and-line-in-pretty-fail-report
(let [pretty-nil (puget/pprint-str nil {:print-color true
:print-meta false})
result (with-out-str
(binding [*test-out* *out*
pretty/*fonts* {}
report/*testing-path* [this-ns #'file-and-line-in-pretty-fail-report]
*report-counters* (ref *initial-report-counters*)]
(output-capture/with-test-buffer
(pretty/report {:type :fail
Expand Down

0 comments on commit 495a252

Please sign in to comment.