Skip to content

Commit

Permalink
Attempt to fix Windows build error
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Mar 20, 2024
1 parent 0c0fa1b commit 1240669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void writePlaybookGeneratesExpectedContent() throws Exception {
String expected = Files
.readString(Path.of("src/test/resources/org/springframework/boot/build/antora/expected-playbook.yml"));
System.out.println(actual);
assertThat(actual).isEqualToNormalizingNewlines(expected);
assertThat(actual.replace('\\', '/')).isEqualToNormalizingNewlines(expected.replace('\\', '/'));
}

private void writePlaybookYml(ThrowingConsumer<GenerateAntoraPlaybook> customizer) throws Exception {
Expand Down

0 comments on commit 1240669

Please sign in to comment.