Stdlib tests: cleanup warnings

This commit is contained in:
Ilya Gorbunov
2018-09-08 06:28:33 +03:00
parent 7e0a658de7
commit 6786b9ece2
4 changed files with 19 additions and 20 deletions
@@ -154,8 +154,10 @@ public class SequenceTest {
assertFailsWith<IllegalArgumentException> { fibonacci().drop(-1) }
val dropMax = fibonacci().drop(Int.MAX_VALUE)
val dropMore = dropMax.drop(Int.MAX_VALUE)
val takeMore = dropMax.take(Int.MAX_VALUE)
run @Suppress("UNUSED_VARIABLE") {
val dropMore = dropMax.drop(Int.MAX_VALUE)
val takeMore = dropMax.take(Int.MAX_VALUE)
}
}