Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Dec 5, 2023
1 parent 16c2ddb commit 49990af
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ void getPathWhenClosedThrowsException() throws Exception {
}

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

0 comments on commit 49990af

Please sign in to comment.