Skip to content

Commit 66b8dd2

Browse files
committed
Fix newlines in JvmTest.
1 parent 8de6dd5 commit 66b8dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testlib/src/test/java/com/diffplug/spotless/JvmTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void supportProposesFormatterUpgrade() {
140140
throw new Exception("Some test exception");
141141
}).apply("");
142142
}).getMessage();
143-
assertThat(proposal).isEqualTo("My Test Formatter " + fmtVersion + " is currently being used, but outdated.\n" +
143+
assertThat(proposal.replace("\r", "")).isEqualTo("My Test Formatter " + fmtVersion + " is currently being used, but outdated.\n" +
144144
"My Test Formatter 2 is the recommended version, which may have fixed this problem.\n" +
145145
"My Test Formatter 2 requires JVM " + (requiredJvm) + "+.");
146146
}

0 commit comments

Comments
 (0)