Skip to content

Commit

Permalink
Fix newlines in JvmTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 12, 2023
1 parent 8de6dd5 commit 66b8dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testlib/src/test/java/com/diffplug/spotless/JvmTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void supportProposesFormatterUpgrade() {
throw new Exception("Some test exception");
}).apply("");
}).getMessage();
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" +
"My Test Formatter 2 is the recommended version, which may have fixed this problem.\n" +
"My Test Formatter 2 requires JVM " + (requiredJvm) + "+.");
}
Expand Down

0 comments on commit 66b8dd2

Please sign in to comment.