summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/lists.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/lists.scala b/test/files/run/lists.scala
index fe3461891e..8911e83b26 100644
--- a/test/files/run/lists.scala
+++ b/test/files/run/lists.scala
@@ -81,7 +81,7 @@ object Test {
ys1.length + ys2.length
}
- def check_success[A](name: String, def closure: A, expected: A): Unit = {
+ def check_success[A](name: String, closure: => A, expected: A): Unit = {
System.out.print("test " + name);
try {
val actual: A = closure;