mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
See gh-38592
This commit is contained in:
parent
16c2ddb02c
commit
49990afd78
@ -127,15 +127,15 @@ class NestedFileSystemTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void getPathWhenFirstIsNullThrowsException() {
|
void getPathWhenFirstIsNull() {
|
||||||
Path path = this.fileSystem.getPath(null);
|
Path path = this.fileSystem.getPath(null);
|
||||||
assertThat(path.toString()).endsWith("/test.jar");
|
assertThat(path.toString()).endsWith(File.separator + "test.jar");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void getPathWhenFirstIsBlank() {
|
void getPathWhenFirstIsBlank() {
|
||||||
Path path = this.fileSystem.getPath("");
|
Path path = this.fileSystem.getPath("");
|
||||||
assertThat(path.toString()).endsWith("/test.jar");
|
assertThat(path.toString()).endsWith(File.separator + "test.jar");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user