summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/patmatnew.scala')
-rw-r--r--test/files/run/patmatnew.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/patmatnew.scala b/test/files/run/patmatnew.scala
index 615046bf14..3840b44b86 100644
--- a/test/files/run/patmatnew.scala
+++ b/test/files/run/patmatnew.scala
@@ -311,7 +311,7 @@ object Test extends TestConsoleMain {
object TestStream extends TestCase("unapply for Streams") {
def sum(stream: Stream[Int]): Int =
stream match {
- case Stream.empty => 0
+ case Stream.Empty => 0
case Stream.cons(hd, tl) => hd + sum(tl)
}