mirror of
https://github.com/lightbend/config.git
synced 2025-03-28 13:01:09 +08:00
Fix test failures due to system message
This commit is contained in:
parent
7a0eb52e57
commit
55ce5762f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user