See gh-38592
This commit is contained in:
Andy Wilkinson 2023-12-05 20:49:34 +00:00
parent 16c2ddb02c
commit 49990afd78

View File

@ -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