Adapt CompileKotlinAgainstKotlin test to black box format

Rename/remove some obsolete test cases
This commit is contained in:
Alexander Udalov
2016-02-29 13:36:16 +03:00
parent 0b26e749f6
commit 9f67fe2fe3
34 changed files with 152 additions and 183 deletions
@@ -12,7 +12,7 @@ const val OK: String = "OK"
import a.OK
fun main(args: Array<String>) {
fun box(): String {
val okRef = ::OK
// TODO: see KT-10892
@@ -23,5 +23,5 @@ fun main(args: Array<String>) {
// }
val result = okRef.get()
if (result != "OK") throw AssertionError("Fail: $result")
return result
}