cursive icon indicating copy to clipboard operation
cursive copied to clipboard

clojure.test/is truncates the values in the log on space in cursive 1.12.1

Open pavel-ganelin opened this issue 3 years ago • 0 comments

Cursive version 1.11.0 works OK.

The following clojure code

(is (= "AAAA BBBB" "AAAA BBBBD"))

reports in the log for 1.11.0:

Assertion failed:
Expected :AAAA BBBB
Actual   :AAAA BBBBD
<Click to see difference>

The same code for cursive 1.12.1 reports in the log:

Assertion failed:
Expected :AAAA
Actual   :AAAA
<Click to see difference>

It seems that the values are truncated on space (or '\n') making it impossible to compare multiline strings. Clicking on <Click to see difference> shows the truncated values too.

IDEA version: 2021.2.3 Java: 8 Platform: MacBook Pro, Intel core i7, MacOS BigSur 11.6.2

pavel-ganelin avatar Jan 20 '22 19:01 pavel-ganelin