41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
8 lines
154 B
Kotlin
8 lines
154 B
Kotlin
class GameError(msg: String): Exception(msg) {
|
|
}
|
|
|
|
fun box(): String {
|
|
val e = GameError("foo")
|
|
return if (e.getMessage() == "foo") "OK" else "fail"
|
|
}
|