From 4f47fba30f9408fee42c147ed7fdcc4105502b58 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 25 Apr 2012 17:24:41 +0200 Subject: updated tests now matches aren't translated if forInteractive --- test/files/presentation/random.check | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/files/presentation/random.check') diff --git a/test/files/presentation/random.check b/test/files/presentation/random.check index 1b73720312..fce4b69fb3 100644 --- a/test/files/presentation/random.check +++ b/test/files/presentation/random.check @@ -4,8 +4,7 @@ askType at Random.scala(18,14) ================================================================================ [response] askTypeAt at (18,14) val filter: Int => Boolean = try { - case val x1: Int = java.this.lang.Integer.parseInt(args.apply(0)); - x1 match { + java.this.lang.Integer.parseInt(args.apply(0)) match { case 1 => ((x: Int) => x.%(2).!=(0)) case 2 => ((x: Int) => x.%(2).==(0)) case _ => ((x: Int) => x.!=(0)) -- cgit v1.2.3