summaryrefslogtreecommitdiff
path: root/test/files/run/global-showdef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/global-showdef.scala')
-rw-r--r--test/files/run/global-showdef.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/global-showdef.scala b/test/files/run/global-showdef.scala
index 0dbaba979d..c3ace590ed 100644
--- a/test/files/run/global-showdef.scala
+++ b/test/files/run/global-showdef.scala
@@ -54,7 +54,7 @@ object Bippy {
val run = new compiler.Run()
run.compileSources(List(src))
}
- (output split "\\n").toList
+ output.linesIterator.toList
}
def showClass(name: String) = lines("-Yshow:typer", "-Xshow-class", name)
def showObject(name: String) = lines("-Yshow:typer", "-Xshow-object", name)