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:
James Strachan
2011-12-21 16:26:37 +00:00
parent aaf18bdd86
commit 894c84190a
8 changed files with 135 additions and 132 deletions
+1 -1
View File
@@ -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}