Skip to content

Commit

Permalink
silly
Browse files Browse the repository at this point in the history
---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
  • Loading branch information
pkriens committed Feb 7, 2024
1 parent 45ea868 commit 44a4a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aQute.libg/test/aQute/lib/io/IOTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public void testGetBasedFile() throws IOException {
assertThat("foo/💩../bar".contains("..")).isTrue();
assertThat("foo/.💩./bar".contains("..")).isFalse();
File base = new File("base").getAbsoluteFile();
assertThat(new File(base, "").getParentFile()).isEqualTo(base);
assertThat(new File(base, "")).isEqualTo(base);
assertThat(new File(base, "./").getParentFile()).isEqualTo(base);
assertThat(new File(base, "/bar").getParentFile()).isEqualTo(base);
assertThat(IO.getBasedFile(base, "")).isEqualTo(base);
Expand Down

0 comments on commit 44a4a7b

Please sign in to comment.