summaryrefslogtreecommitdiff
path: root/test/files/run/t7747-repl.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7747-repl.scala')
-rw-r--r--test/files/run/t7747-repl.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t7747-repl.scala b/test/files/run/t7747-repl.scala
index 141c2d9844..8203f4c802 100644
--- a/test/files/run/t7747-repl.scala
+++ b/test/files/run/t7747-repl.scala
@@ -8,6 +8,11 @@ object Test extends ReplTest {
s
}
+ override def normalize(s: String) = {
+ // replace indylambda function names by <function0>
+ """\$Lambda.*""".r.replaceAllIn(s, "<function0>")
+ }
+
def code = """
|var x = 10
|var y = 11