mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 10:59:03 +00:00
Polish
See gh-38592
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user