Migrate testdata to new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-04-03 13:40:07 +03:00
parent b703f59e04
commit 3de0dff575
134 changed files with 263 additions and 277 deletions
@@ -24,7 +24,7 @@ fun test11(): Int {
throw RuntimeExceptionWithValue("2")
}
},
{(ex, thizz) ->
{ ex, thizz ->
if (ex.value == "2") {
thizz.value
} else {
@@ -55,7 +55,7 @@ fun test22(): Int {
111
}
},
{(ex, thizz) ->
{ ex, thizz ->
-11111
})
@@ -87,7 +87,7 @@ fun test33(): Int {
throw RuntimeExceptionWithValue("-2")
}
},
{(ex, thizz) ->
{ ex, thizz ->
if (ex.value == "-2") {
throw RuntimeExceptionWithValue("-3")
} else {