fixing tests

This commit is contained in:
Maxim Shafirov
2011-12-30 19:48:35 +04:00
parent 9a11564d27
commit 1cfdbf9406
+1 -1
View File
@@ -19,7 +19,7 @@ class IoTest() : TestSupport() {
}
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() {