Get rid of deprecated annotations and modifiers in stdlib (besides JS)
This commit is contained in:
@@ -5,7 +5,7 @@ import org.junit.Test as test
|
||||
|
||||
class ArraysJVMTest {
|
||||
|
||||
test fun orEmptyNull() {
|
||||
@test fun orEmptyNull() {
|
||||
val x: Array<String>? = null
|
||||
val y: Array<out String>? = null
|
||||
val xArray = x.orEmpty()
|
||||
@@ -14,7 +14,7 @@ class ArraysJVMTest {
|
||||
expect(0) { yArray.size() }
|
||||
}
|
||||
|
||||
test fun orEmptyNotNull() {
|
||||
@test fun orEmptyNotNull() {
|
||||
val x: Array<String>? = arrayOf("1", "2")
|
||||
val xArray = x.orEmpty()
|
||||
expect(2) { xArray.size() }
|
||||
|
||||
Reference in New Issue
Block a user