Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Sep 30, 2024
1 parent f56c190 commit ba4cdb0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,10 @@ public void testReadFileInDirThenReadDirMultipleLevels() {
@Test
public void testBugEndWithSlash() {
FileResolver resolver = ((VertxInternal) vertx).fileResolver();
File buff = resolver.resolveFile("tree/");
File f = resolver.resolveFile("tree/");
assertNotNull(f);
assertTrue(f.isDirectory());
assertEquals("tree", f.getName());
}

@Test
Expand Down

0 comments on commit ba4cdb0

Please sign in to comment.