Replace "jet" package name with "kotlin" in testData
This commit is contained in:
@@ -95,8 +95,8 @@ fun LinkedList<Int>.sum(f : (Int, Int) -> Int) : Int {
|
||||
}
|
||||
|
||||
fun <T> List<T>.backwards() : Iterable<T> = object : Iterable<T> {
|
||||
override fun iterator() : jet.Iterator<T> =
|
||||
object : jet.Iterator<T> {
|
||||
override fun iterator() : Iterator<T> =
|
||||
object : Iterator<T> {
|
||||
var current = size()
|
||||
override fun next() : T = get(--current)
|
||||
override fun hasNext() : Boolean = current > 0
|
||||
|
||||
@@ -5,8 +5,8 @@ fun box(): String {
|
||||
val a: Any? = null
|
||||
a as Array<String>
|
||||
}
|
||||
catch(e: TypeCastException) {
|
||||
if (e.getMessage() == "jet.Any? cannot be cast to jet.Array<jet.String>") {
|
||||
catch (e: TypeCastException) {
|
||||
if (e.getMessage() == "kotlin.Any? cannot be cast to kotlin.Array<kotlin.String>") {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user