Skip to content

Commit bf78f18

Browse files
committed
Update test
1 parent 64d0833 commit bf78f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/LibraryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void testCaptureScreen() throws IOException, AWTException {
120120
File f = new File(filename);
121121
assertTrue(f.exists() && !f.isDirectory());
122122
} finally {
123-
Files.delete(new File(filename).toPath());
123+
Files.deleteIfExists(new File(filename).toPath());
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)