提交 c58d21a1 编写于 作者: I Ilya Gorbunov

Remove obsolete test for KT-1131

上级 2cdd4135
package test.stdlib.issues
import kotlin.test.*
import org.junit.Test as test
private fun listDifference<T>(first : List<T>, second : List<T>) : List<T> {
return first.filter{ !second.contains(it) }.toList()
}
class StdLibIssuesTest {
@test fun test_KT_1131() {
val data = arrayListOf("blah", "foo", "bar")
val filterValues = arrayListOf("bar", "something", "blah")
expect(arrayListOf("foo")) {
val answer = listDifference(data, filterValues)
println("Found answer ${answer}")
answer
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册