Skip to content

Commit

Permalink
[IO-856] test for background deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
thhart committed Nov 6, 2024
2 parents 287d69d + 12c7216 commit 9acf30b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ public void testListFilesWithDeletion() throws IOException {
final String[] extensions = {"xml", "txt"};
final List<File> list;
final File xFile = new File(temporaryFolder, "x.xml");
if(!xFile.createNewFile())
if(!xFile.createNewFile()) {
fail("could not create test file: " + xFile);
}
final Collection<File> files = FileUtils.listFiles(temporaryFolder, extensions, true);
assertEquals(5, files.size());
try (Stream<File> stream = Uncheck.get(() -> FileUtils.streamFiles(temporaryFolder, true, extensions))) {
Expand Down

0 comments on commit 9acf30b

Please sign in to comment.