cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Expected and actual values are swapped compared to typical Clojure test runners in test diffs

Open cap10morgan opened this issue 2 years ago • 3 comments

Typically in Clojure tests the expected value comes first and the actual value second.

For example:

(is (= expected actual))

Other test runners then report the expected vs. actual values correctly when the args to = are in that order.

But in Cursive when you view a failed test diff, it puts the first arg in the Actual column and the second arg in the Expected column.

It would be nice if this matched the typical convention of expected first, actual second.

cap10morgan avatar Feb 21 '23 21:02 cap10morgan