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 3032795 commit 2558dfbCopy full SHA for 2558dfb
src/test/java/org/apache/ibatis/io/ExternalResourcesTest.java
@@ -77,7 +77,7 @@ void testcopyExternalResource_emptyStringAsFile() {
77
badFile = Path.of(" ").toFile();
78
ExternalResources.copyExternalResource(badFile, destFile);
79
} catch (Exception e) {
80
- assertTrue(e instanceof InvalidPathException);
+ assertTrue(e instanceof InvalidPathException || e instanceof NoSuchFileException);
81
}
82
83
0 commit comments