Get rid of deprecated annotations and modifiers in js-stdlib
This commit is contained in:
@@ -5,7 +5,7 @@ import org.junit.Test as test
|
||||
|
||||
class JsonTest {
|
||||
|
||||
test fun createJsonFromPairs() {
|
||||
@test fun createJsonFromPairs() {
|
||||
var obj = json(Pair("firstName", "John"), Pair("lastName", "Doe"), Pair("age", 30))
|
||||
assertEquals("John", obj["firstName"], "firstName")
|
||||
assertEquals("Doe", obj["lastName"], "lastName")
|
||||
|
||||
Reference in New Issue
Block a user