Replaced sure() invocations with '!!' operator in JS tests.

This commit is contained in:
Evgeny Gerashchenko
2012-09-14 17:16:24 +04:00
parent 8e1323bb43
commit ffc4792071
5 changed files with 12 additions and 12 deletions
@@ -139,7 +139,7 @@ fun makeField(s : String) : Field {
val l1 : Int = o1.size
val l2 = o2.size
l1 - l2
}).sure()
})!!
val data = Array(lines.size) {Array(w.size) {false}}
// workaround
@@ -160,7 +160,7 @@ fun makeField(s : String) : Field {
}
// An excerpt from the Standard Library
val String?.indices : IntRange get() = IntRange(0, this.sure().size)
val String?.indices : IntRange get() = IntRange(0, this!!.size)
fun <K, V> MutableMap<K, V>.set(k : K, v : V) { put(k, v) }