liquidz / vim-iced

Clojure Interactive Development Environment for Vim8/Neovim
https://liquidz.github.io/vim-iced/
MIT License
518 stars 35 forks source link

Custom messages in tests with `is` aren't shown #408

Closed geekingfrog closed 2 years ago

geekingfrog commented 2 years ago

Let's consider the following test:

(deftest test-with-message
  (testing "will fail"
    (is false "what did you expect?")))

Running lein test will give the following:

FAIL in (test-with-message) (core_test.clj:21)
will fail
what did you expect?
expected: false
  actual: false

But running the test using iced doesn't give me the what did you expect? string:

;; test-with-message: will fail (Line: 21)
expected: false
  actual: false

Otherwise things just work, fantastic work <3

liquidz commented 2 years ago

@geekingfrog Nice catch! Thanks for your reporting! I've fixed in dev branch, and it should be displayed as below.

;; test-with-message: will fail / what did you expect? (Line: 7)
expected: false
  actual: false

Could you try dev branch?

geekingfrog commented 2 years ago

Works on dev, thanks for the quick fix.

liquidz commented 2 years ago

@geekingfrog Just release v3.9.0 #409