Skip to content

Commit 4f0d620

Browse files
committed
Fixed compile
1 parent 6efca54 commit 4f0d620

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/kotlin/g3701_3800/s3731_find_missing_elements/SolutionTest.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ import org.junit.jupiter.api.Test
77
internal class SolutionTest {
88
@Test
99
fun findMissingElements() {
10-
assertThat<MutableList<Int>>(
10+
assertThat<List<Int>>(
1111
Solution().findMissingElements(intArrayOf(1, 4, 2, 5)),
12-
equalTo<MutableList<Int>>(mutableListOf<Int>(3)),
12+
equalTo<List<Int>>(mutableListOf<Int>(3)),
1313
)
1414
}
1515

1616
@Test
1717
fun findMissingElements2() {
18-
assertThat<MutableList<Int>>(
18+
assertThat<List<Int>>(
1919
Solution().findMissingElements(intArrayOf(7, 8, 6, 9)),
20-
equalTo<MutableList<out Any>>(mutableListOf<Any>()),
20+
equalTo<List<Int>>(mutableListOf<Int>()),
2121
)
2222
}
2323

2424
@Test
2525
fun findMissingElements3() {
26-
assertThat<MutableList<Int>>(
26+
assertThat<List<Int>>(
2727
Solution().findMissingElements(intArrayOf(5, 1)),
28-
equalTo<MutableList<Int>>(mutableListOf<Int>(2, 3, 4)),
28+
equalTo<List<Int>>(mutableListOf<Int>(2, 3, 4)),
2929
)
3030
}
3131
}

0 commit comments

Comments
 (0)