aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test/TestREPL.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test/TestREPL.scala b/test/test/TestREPL.scala
index d01038c43..53fcc0730 100644
--- a/test/test/TestREPL.scala
+++ b/test/test/TestREPL.scala
@@ -22,7 +22,7 @@ class TestREPL(script: String) extends REPL {
override def input(implicit ctx: Context) = new InteractiveReader {
val lines = script.lines
- def readLine(prompt: String): String = {
+ def readLine(prompt: String)(implicit ctx: Context): String = {
val line = lines.next
if (line.startsWith(prompt) || line.startsWith(continuationPrompt)) {
output.println(line)
@@ -44,4 +44,4 @@ class TestREPL(script: String) extends REPL {
assert(false)
}
}
-} \ No newline at end of file
+}