We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b84a6 commit b244382Copy full SHA for b244382
src/test/java/org/apache/ibatis/io/ExternalResourcesTest.java
@@ -15,6 +15,7 @@
15
*/
16
package org.apache.ibatis.io;
17
18
+import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
19
import static org.junit.jupiter.api.Assertions.assertEquals;
20
import static org.junit.jupiter.api.Assertions.assertTrue;
21
import static org.junit.jupiter.api.Assertions.fail;
@@ -49,11 +50,9 @@ void setUp() throws Exception {
49
50
51
@Test
52
void testcopyExternalResource() {
-
53
- try {
+ assertDoesNotThrow(() -> {
54
ExternalResources.copyExternalResource(sourceFile, destFile);
55
- } catch (IOException e) {
56
- }
+ });
57
58
}
59
0 commit comments