Merge pull request #388 from kxbmap/test-system-message

Fix test failures due to system message
This commit is contained in:
Havoc Pennington 2016-04-07 00:07:44 -04:00
commit b076de21ce

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