Skip to content

Commit eaa0f51

Browse files
committed
restore helloworld test
1 parent 8fc6356 commit eaa0f51

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tests/pos/HelloWorld.scala

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
object HelloWorld {
2-
def main(args: Array[String]): Unit = {
3-
println("hello world")
4-
val list = List(1, 2, 3)
5-
list match {
6-
case head :: tail => println(head)
7-
case Nil => println("empty")
8-
}
9-
val s = list match {
10-
case head :: tail => head.toString
11-
case Nil => "empty"
12-
}
13-
println(s)
14-
}
2+
def main(args: Array[String]): Unit = println("hello world")
153
}

0 commit comments

Comments
 (0)