Minor: Fix TODOs in stdlib tests

This commit is contained in:
Ilya Gorbunov
2016-10-17 21:29:54 +03:00
parent 68411aaa69
commit 0ac461927c
5 changed files with 8 additions and 16 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ import org.junit.Test as test
class TODOTest {
private class PartiallyImplementedClass {
public val prop: String get() = TODO()
// fun method1() = TODO() as String // <- doesn't compile in JS
fun method1() = TODO() as String
public fun method2(): Int = TODO()
public fun method3(switch: Boolean, value: String): String {
@@ -56,7 +56,7 @@ class TODOTest {
val inst = PartiallyImplementedClass()
assertNotImplemented { inst.prop }
// assertNotImplemented{ inst.method1() }
assertNotImplemented{ inst.method1() }
assertNotImplemented { inst.method2() }
assertNotImplemented { inst.method4() }
assertNotImplementedWithMessage("what if false") { inst.method3(false, "test") }