Browse Source

Polish

See gh-38592
pull/38674/head
Andy Wilkinson 2 years ago
parent
commit
49990afd78
  1. 6
      spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/nio/file/NestedFileSystemTests.java

6
spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/nio/file/NestedFileSystemTests.java

@ -127,15 +127,15 @@ class NestedFileSystemTests { @@ -127,15 +127,15 @@ class NestedFileSystemTests {
}
@Test
void getPathWhenFirstIsNullThrowsException() {
void getPathWhenFirstIsNull() {
Path path = this.fileSystem.getPath(null);
assertThat(path.toString()).endsWith("/test.jar");
assertThat(path.toString()).endsWith(File.separator + "test.jar");
}
@Test
void getPathWhenFirstIsBlank() {
Path path = this.fileSystem.getPath("");
assertThat(path.toString()).endsWith("/test.jar");
assertThat(path.toString()).endsWith(File.separator + "test.jar");
}
@Test

Loading…
Cancel
Save