From b6778be91900b8161e705dc2598ef7af86842b0b Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Wed, 2 Nov 2011 14:34:35 +0000 Subject: Begone t1737... --- test/files/run/mock.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/files/run/mock.scala') diff --git a/test/files/run/mock.scala b/test/files/run/mock.scala index e414e51e2d..8778e20ef5 100644 --- a/test/files/run/mock.scala +++ b/test/files/run/mock.scala @@ -5,11 +5,11 @@ import java.io.Closeable object Test { // It'd be really nice about now if functions had a common parent. implicit def interfaceify(x: AnyRef): UniversalFn = UniversalFn(x) - + def runner(x: Runnable) = x.run() def caller[T](x: Callable[T]): T = x.call() def closer(x: Closeable) = x.close() - + def main(args: Array[String]): Unit = { var counter = 0 val closure = () => { @@ -21,7 +21,7 @@ object Test { val int1 = closure.as[Runnable] val int2 = closure.as[Callable[Int]] val int3 = closure.as[Closeable] - + runner(int1) caller(int2) closer(int3) -- cgit v1.2.3