mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -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)
|
val res = ClassLoader.getSystemResource(fileName)
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
properties.load(res.openStream())
|
properties.load(res.openStream())
|
||||||
Assert.assertTrue(properties.get("foo") == "bar")
|
Assert.assertTrue(properties["foo"] == "bar")
|
||||||
} else {
|
} else {
|
||||||
Assert.fail("Couldn't load ${fileName}")
|
Assert.fail("Couldn't load $fileName")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue