+= tests fix

This commit is contained in:
Evgeny Gerashchenko
2014-07-29 00:07:34 +04:00
parent b86affaa3a
commit 90b065e82b
8 changed files with 6 additions and 24 deletions
@@ -2,7 +2,7 @@ package foo
import java.util.*
fun <T> ArrayList<T>.plus(other: Collection<T>): List<T> {
fun <T> ArrayList<T>.plus(other: Collection<T>): ArrayList<T> {
val c = ArrayList<T>()
c.addAll(this)
c.addAll(other)