[JS TESTS] Rewrite web demo tests using new test infrastructure
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// MAIN_ARGS: [Pavel]
|
||||
|
||||
class Greeter(name: String) {
|
||||
val name = name
|
||||
fun greet() {
|
||||
println("Hello, ${name}!");
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
Greeter(args[0]).greet()
|
||||
}
|
||||
Reference in New Issue
Block a user