JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package foo
|
||||
|
||||
|
||||
fun box(): String {
|
||||
val s = StringBuilder()
|
||||
s.append("a")
|
||||
s.append("b").append("c")
|
||||
s.append('d').append("e")
|
||||
|
||||
if (s.toString() != "abcde") return s.toString()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user