Skip to content

Commit 1240669

Browse files
committed
Attempt to fix Windows build error
See gh-33766
1 parent 0c0fa1b commit 1240669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/test/java/org/springframework/boot/build/antora/GenerateAntoraPlaybookTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void writePlaybookGeneratesExpectedContent() throws Exception {
5151
String expected = Files
5252
.readString(Path.of("src/test/resources/org/springframework/boot/build/antora/expected-playbook.yml"));
5353
System.out.println(actual);
54-
assertThat(actual).isEqualToNormalizingNewlines(expected);
54+
assertThat(actual.replace('\\', '/')).isEqualToNormalizingNewlines(expected.replace('\\', '/'));
5555
}
5656

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

0 commit comments

Comments
 (0)