JS: move expressions test to box tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
fun box(): String {
|
||||
try {
|
||||
if (true) throw Exception() else "fail1"
|
||||
}
|
||||
catch (e: Exception) {
|
||||
return "OK"
|
||||
}
|
||||
return "fail2"
|
||||
}
|
||||
Reference in New Issue
Block a user