Stop using deprecated APIs
This commit is contained in:
@@ -10,10 +10,10 @@ private fun listDifference<T>(first : List<T>, second : List<T>) : List<T> {
|
||||
class StdLibIssuesTest {
|
||||
|
||||
test fun test_KT_1131() {
|
||||
val data = arrayList("blah", "foo", "bar")
|
||||
val filterValues = arrayList("bar", "something", "blah")
|
||||
val data = arrayListOf("blah", "foo", "bar")
|
||||
val filterValues = arrayListOf("bar", "something", "blah")
|
||||
|
||||
expect(arrayList("foo")) {
|
||||
expect(arrayListOf("foo")) {
|
||||
val answer = listDifference(data, filterValues)
|
||||
println("Found answer ${answer}")
|
||||
answer
|
||||
|
||||
Reference in New Issue
Block a user