aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/Course-2002-07.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/Course-2002-07.scala')
-rw-r--r--tests/pending/run/Course-2002-07.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/Course-2002-07.scala b/tests/pending/run/Course-2002-07.scala
index 2d9457653..b26eda1e0 100644
--- a/tests/pending/run/Course-2002-07.scala
+++ b/tests/pending/run/Course-2002-07.scala
@@ -666,7 +666,7 @@ object MB {
Console.println("f0(x) = " + f0);
Console.println;
- def check(n: String, f: Expr, x: Int, e: Int) {
+ def check(n: String, f: Expr, x: Int, e: Int): Unit = {
val a: Int = f.evaluate(List(("x",x)));
val s: String = if (a == e) "ok" else "KO(" + e + ")";
Console.println(n + "(" + x + ") = " + a + " " + s);
@@ -702,7 +702,7 @@ object MB {
//############################################################################
object Test {
- def main(args: Array[String]) {
+ def main(args: Array[String]): Unit = {
M0.test;
M1.test;
M2.test;