Replace "jet" package name with "kotlin" in testData

This commit is contained in:
Alexander Udalov
2014-02-21 23:29:57 +04:00
parent f2b4c7fa3e
commit f7b6457139
763 changed files with 2314 additions and 2310 deletions
@@ -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"
}
}