issues
search
diffplug
/
selfie
Snapshot testing for Java, Kotlin, and the JVM
https://selfie.dev
Apache License 2.0
53
stars
8
forks
source link
`toBe` parse failure should be ignored if we are planning to overwrite the value anyway
#445
Open
nedtwigg
opened
4 months ago
nedtwigg
commented
4 months ago
Story:
selfie sets a
toBe
correctly
autoformatter reformats with
+
or something like that
selfie can't parse the file anymore
Solution
Most of all we should generate strings that don't reformatted, e.g. #406
But if it happens, we should make it easy to nuke the string literal as long as we can find the other paren
Story:
toBe
correctly+
or something like thatSolution