Get rid of deprecated annotations and modifiers in stdlib (besides JS)
This commit is contained in:
@@ -5,7 +5,7 @@ import kotlin.test.*
|
||||
import org.junit.Test as test
|
||||
|
||||
class StringUtilTest() {
|
||||
test fun toPattern() {
|
||||
@test fun toPattern() {
|
||||
val re = """foo""".toPattern()
|
||||
val list = re.split("hellofoobar").toList()
|
||||
assertEquals(listOf("hello", "bar"), list)
|
||||
|
||||
Reference in New Issue
Block a user