mirror of
https://github.com/lightbend/config.git
synced 2025-02-22 01:00:31 +08:00
Merge pull request #388 from kxbmap/test-system-message
Fix test failures due to system message
This commit is contained in:
commit
b076de21ce
@ -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