summaryrefslogtreecommitdiff
path: root/test/files/run/enums.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/enums.scala')
-rw-r--r--test/files/run/enums.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/enums.scala b/test/files/run/enums.scala
index 91fea177ad..5af6577ba3 100644
--- a/test/files/run/enums.scala
+++ b/test/files/run/enums.scala
@@ -53,7 +53,7 @@ object Test3 {
object Test {
import java.lang.System;
- def check_success(name: String, def closure: Int, expected: Int): Unit = {
+ def check_success(name: String, closure: => Int, expected: Int): Unit = {
System.out.print("test " + name);
try {
val actual: Int = closure;