mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Warning.
This commit is contained in:
parent
b91579ebf3
commit
1491f78b1c
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ public class ResourceTest {
|
|||
val res = ClassLoader.getSystemResource(fileName)
|
||||
if (res != null) {
|
||||
properties.load(res.openStream())
|
||||
Assert.assertTrue(properties.get("foo") == "bar")
|
||||
Assert.assertTrue(properties["foo"] == "bar")
|
||||
} else {
|
||||
Assert.fail("Couldn't load ${fileName}")
|
||||
Assert.fail("Couldn't load $fileName")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue