Minor: normalize '@Test' annotation casing in all tests.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package test.properties.delegation.map
|
||||
|
||||
import kotlin.test.*
|
||||
import org.junit.Test as test
|
||||
import org.junit.Test
|
||||
|
||||
class ValByMapExtensionsTest {
|
||||
val map: Map<String, String> = hashMapOf("a" to "all", "b" to "bar", "c" to "code")
|
||||
@@ -18,7 +18,7 @@ class ValByMapExtensionsTest {
|
||||
val x: Double by genericMap
|
||||
|
||||
|
||||
@test fun doTest() {
|
||||
@Test fun doTest() {
|
||||
assertEquals("all", a)
|
||||
assertEquals("bar", b)
|
||||
assertEquals("code", c)
|
||||
@@ -43,7 +43,7 @@ class VarByMapExtensionsTest {
|
||||
var a2: String by map2.withDefault { "empty" }
|
||||
//var x: Int by map2 // prohibited by type system
|
||||
|
||||
@test fun doTest() {
|
||||
@Test fun doTest() {
|
||||
assertEquals("all", a)
|
||||
assertEquals(null, b)
|
||||
assertEquals(1, c)
|
||||
|
||||
Reference in New Issue
Block a user