TEST: convertion unit tests into run tests
This commit is contained in:
committed by
vvlevchenko
parent
7fd4b4fe34
commit
3fe59cc46c
@@ -2,4 +2,8 @@ class A(val a:Int) {
|
||||
fun foo(i:Int) = a + i
|
||||
}
|
||||
|
||||
fun fortyTwo() = A(41).foo(1)
|
||||
fun fortyTwo() = A(41).foo(1)
|
||||
|
||||
fun main(args:Array<String>) {
|
||||
if (fortyTwo() != 42) throw Error()
|
||||
}
|
||||
Reference in New Issue
Block a user