Fix test failures due to system message

This commit is contained in:
kxbmap 2016-04-07 10:23:40 +09:00
parent 7a0eb52e57
commit 55ce5762f3

View File

@ -275,7 +275,8 @@ class PublicApiTest extends TestUtils {
private def assertNotFound(e: ConfigException) {
assertTrue("Message text: " + e.getMessage, e.getMessage.contains("No such") ||
e.getMessage.contains("not found") ||
e.getMessage.contains("were found"))
e.getMessage.contains("were found") ||
e.getMessage.contains("java.io.FileNotFoundException"))
}
@Test