migrated most of the test cases over to the new -> syntax for functions; still can't compile or run the tests yet though :(, needs more work...
This commit is contained in:
@@ -10,7 +10,7 @@ import std.util.*
|
||||
import java.util.*
|
||||
|
||||
class MapTest() : TestSupport() {
|
||||
val data = HashMap<String, Int>()
|
||||
val data: Map<String,Int> = HashMap<String, Int>()
|
||||
|
||||
fun testGetOrElse() {
|
||||
val a = data.getOrElse("foo"){2}
|
||||
|
||||
Reference in New Issue
Block a user