We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de6dd5 commit 66b8dd2Copy full SHA for 66b8dd2
testlib/src/test/java/com/diffplug/spotless/JvmTest.java
@@ -140,7 +140,7 @@ void supportProposesFormatterUpgrade() {
140
throw new Exception("Some test exception");
141
}).apply("");
142
}).getMessage();
143
- assertThat(proposal).isEqualTo("My Test Formatter " + fmtVersion + " is currently being used, but outdated.\n" +
+ assertThat(proposal.replace("\r", "")).isEqualTo("My Test Formatter " + fmtVersion + " is currently being used, but outdated.\n" +
144
"My Test Formatter 2 is the recommended version, which may have fixed this problem.\n" +
145
"My Test Formatter 2 requires JVM " + (requiredJvm) + "+.");
146
}
0 commit comments