summaryrefslogtreecommitdiff
path: root/test/files/run/t7805-repl-i.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7805-repl-i.scala')
-rw-r--r--test/files/run/t7805-repl-i.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t7805-repl-i.scala b/test/files/run/t7805-repl-i.scala
index bb5203951e..208cb5da13 100644
--- a/test/files/run/t7805-repl-i.scala
+++ b/test/files/run/t7805-repl-i.scala
@@ -35,7 +35,7 @@ trait HangingRepl extends ReplTest {
import ExecutionContext.Implicits._
import Resulting._
def timeout = 120 seconds
- def hanging[A](a: =>A): A = future(a) resultWithin timeout
+ def hanging[A](a: =>A): A = Future(a) resultWithin timeout
override def show() = Try(hanging(super.show())) recover {
case e => e.printStackTrace()
}