bat-test icon indicating copy to clipboard operation
bat-test copied to clipboard

Eftest diff missing from output

Open Futurile opened this issue 4 years ago • 0 comments

When I run lein bat-test diffs are missing. Example test:

(defexpect simple-test
    (expect 2 (+ 1 3) "Should be equal to 4")
)

When running lein test:

    Should be equal to 4
    expected: 2
      actual: 4
        diff: - 2
              + 4

When running lein bat-test once:

  FAIL in passtui.core-test/simple-test (core_test.clj:18)
  Should be equal to 4
  expected: 2
    actual: [4]

The diff line isn't there.

I found a similar issue in eftest repo https://github.com/weavejester/eftest/issues/67 which might be the same thing.

Futurile avatar Jul 05 '20 10:07 Futurile