Refactor js.tests

Use Test#getName where possible
This commit is contained in:
pTalanov
2012-05-05 20:37:02 +04:00
parent 9b0ef758fb
commit 1896f7250f
27 changed files with 140 additions and 136 deletions
@@ -0,0 +1,18 @@
package foo
class MyInt() {
var b = 0
fun inc() : MyInt {
val res = MyInt()
res.b++;
return res;
}
}
fun box() : Boolean {
var c = MyInt()
c++;
return (c.b == 1);
}