Get rid of deprecated annotations and modifiers in stdlib (besides JS)
This commit is contained in:
@@ -8,19 +8,19 @@ import java.io.*
|
||||
import org.junit.Test as test
|
||||
|
||||
class OldStdlibTest() {
|
||||
test fun testCollectionEmpty() {
|
||||
@test fun testCollectionEmpty() {
|
||||
assertNot {
|
||||
listOf(0, 1, 2).isEmpty()
|
||||
}
|
||||
}
|
||||
|
||||
test fun testCollectionSize() {
|
||||
@test fun testCollectionSize() {
|
||||
assertTrue {
|
||||
listOf(0, 1, 2).size() == 3
|
||||
}
|
||||
}
|
||||
|
||||
test fun testInputStreamIterator() {
|
||||
@test fun testInputStreamIterator() {
|
||||
val x = ByteArray (10)
|
||||
|
||||
for(index in 0..9) {
|
||||
|
||||
Reference in New Issue
Block a user