summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-funs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/spec-funs.scala')
-rw-r--r--test/files/pos/spec-funs.scala9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/files/pos/spec-funs.scala b/test/files/pos/spec-funs.scala
index 611ec0ef62..b9acbe171a 100644
--- a/test/files/pos/spec-funs.scala
+++ b/test/files/pos/spec-funs.scala
@@ -54,10 +54,7 @@ final class ClosureTest {
}
}
-object TestInt extends scala.testing.Benchmark {
- def run() = (new IntTest).run()
-}
-
-object TestClosure extends scala.testing.Benchmark {
- def run() = (new ClosureTest).run()
+object TestRunner {
+ (new IntTest).run()
+ (new ClosureTest).run()
}