Get rid of deprecated annotations and modifiers in js-stdlib

This commit is contained in:
Denis Zharkov
2015-09-14 16:36:37 +03:00
parent 5cecaa6f87
commit 05eaf37123
44 changed files with 1484 additions and 1484 deletions
+4 -4
View File
@@ -23,13 +23,13 @@ import org.junit.Test as test
class RegExpTest {
test fun regExpToString() {
@test fun regExpToString() {
val pattern = "q(\\d+)d"
val re = RegExp(pattern, "i")
assertEquals("/$pattern/i", re.toString())
}
test fun regExpProperties() {
@test fun regExpProperties() {
val re1 = RegExp("[a-z]", "img")
assertTrue(re1.global)
assertTrue(re1.ignoreCase)
@@ -41,7 +41,7 @@ class RegExpTest {
}
test fun regExpTest() {
@test fun regExpTest() {
val pattern = "q(\\d+)d"
val re = RegExp(pattern, "i")
@@ -52,7 +52,7 @@ class RegExpTest {
}
test fun regExpExec() {
@test fun regExpExec() {
val string = "R2D2 beats A5D5 "
var re = RegExp("""(\w\d)(\w\d)""", "g")
val m1 = re.exec(string)!!