fixing tests
This commit is contained in:
@@ -19,7 +19,7 @@ class IoTest() : TestSupport() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun sample() : Reader {
|
fun sample() : Reader {
|
||||||
return InputStreamReader(getClass().getClassLoader().getResourceAsStream("test/HelloWorld.txt"))
|
return InputStreamReader((this as java.lang.Object).getClass()?.getClassLoader()?.getResourceAsStream("test/HelloWorld.txt"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testLineIterator() {
|
fun testLineIterator() {
|
||||||
|
|||||||
Reference in New Issue
Block a user