Hi, I was wondering if there's a setting I can turn on so that match? plays nicely with CIDER. In spacemacs I get this output for this test:
(deftest foo
(is (match? "abc" "def")))
Then , t t on it (run the test), inside the test output buffer:
Test Summary
api.api-test 1 ms
foo 1 ms
Tested 1 namespaces in 1 ms
Ran 1 assertions, in 1 test functions
1 failures
cider-test-fail-fast: t
Results
api.api-test
1 non-passing tests:
Fail in foo
expected: (match? "abc" "def")
actual: (mismatch (expected abc) (actual def)) ;; <--- missing string quotes
i just evaled the is part and i got double quotes
(is (match? "abc" "def"))
FAIL in () (xero_test.clj:366)
expected: (match? "abc" "def")
actual: (mismatch (expected "abc") (actual "def"))
=> false
it's probably because some of our customizations...I'll try to eval too, my example is from a cider run test command rather than a test eval