diffplug / selfie

Snapshot testing for Java, Kotlin, and the JVM
https://selfie.dev
Apache License 2.0
54 stars 8 forks source link

handle multiline java strings as comma-delimited single-line strings #406

Closed nedtwigg closed 6 months ago

nedtwigg commented 6 months ago

For java versions which don't support multiline literals, we now do assertions on multiline strings like this:

toBe("line1",
     "line2",
     "line3");