Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf78f18

Browse files
committed
Update test
1 parent64d0833 commitbf78f18

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
Filef =newFile(filename);
121121
assertTrue(f.exists() && !f.isDirectory());
122122
}finally {
123-
Files.delete(newFile(filename).toPath());
123+
Files.deleteIfExists(newFile(filename).toPath());
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp