Remove generated codegen tests, move all testData to box/
A single test file will be generated out of box/ directory
This commit is contained in:
committed by
Alexander Udalov
parent
41a416da60
commit
7ce62a5b64
+17
@@ -0,0 +1,17 @@
|
||||
class A {
|
||||
class object {
|
||||
fun Int.foo(a: Int = 1): Int {
|
||||
return a
|
||||
}
|
||||
|
||||
fun test(): String {
|
||||
if (1.foo() != 1) return "fail"
|
||||
if (1.foo(2) != 2) return "fail"
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return A.test()
|
||||
}
|
||||
Reference in New Issue
Block a user