summaryrefslogtreecommitdiff
path: root/test/files/run/t0883.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t0883.scala')
-rw-r--r--test/files/run/t0883.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t0883.scala b/test/files/run/t0883.scala
index c5c1aeaa04..c8ed06dbfe 100644
--- a/test/files/run/t0883.scala
+++ b/test/files/run/t0883.scala
@@ -2,7 +2,7 @@ object Foo { def apply(x: String) = new Foo(x) }
class Foo(name: String)
case object Bar extends Foo("Bar")
case class Baz() extends Foo("Baz")
-object Test extends Application {
+object Test extends App {
Foo("Bar") match {
case Bar => println("What?")
case _ => println("OK")