Minor: Fix TODOs in stdlib tests

This commit is contained in:
Ilya Gorbunov
2016-10-17 21:29:54 +03:00
parent 68411aaa69
commit 0ac461927c
5 changed files with 8 additions and 16 deletions
@@ -483,9 +483,7 @@ class CollectionTest {
val hasNulls = listOf("foo", null, "bar")
// TODO replace with more accurate version when KT-5987 will be fixed
// failsWith(javaClass<IllegalArgumentException>()) {
assertFails {
assertFailsWith<IllegalArgumentException> {
// should throw an exception as we have a null
hasNulls.requireNoNulls()
}