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
|
||||
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…
Reference in New Issue
Block a user