Skip to content

Commit 7a41750

Browse files
committed
Fix tests on windows
1 parent 793aca6 commit 7a41750

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-jarmode-tools/src/test/java/org/springframework/boot/jarmode/tools

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-tools/spring-boot-jarmode-tools/src/test/java/org/springframework/boot/jarmode/tools/AbstractTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ List<String> listFilenames(File directory) throws IOException {
141141
return stream.map((file) -> file.toAbsolutePath().toString())
142142
.map((file) -> (file.length() >= substring) ? file.substring(substring) : "")
143143
.filter(StringUtils::hasLength)
144+
.map((file) -> file.replace(File.separatorChar, '/'))
144145
.toList();
145146
}
146147
}

0 commit comments

Comments
 (0)