summaryrefslogtreecommitdiff
path: root/test/files/run/t7634.scala
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-10-08 10:25:52 -0400
committerSeth Tisue <seth@tisue.net>2015-10-08 10:25:52 -0400
commit129c9d2ca3fa244d9605e291264bf6dc10332186 (patch)
tree04322a5eefb63a3d5ab34df0845716e8e25e618d /test/files/run/t7634.scala
parent648c7a1635f88fb14b999a8d36e01a71761b9001 (diff)
downloadscala-129c9d2ca3fa244d9605e291264bf6dc10332186.tar.gz
scala-129c9d2ca3fa244d9605e291264bf6dc10332186.tar.bz2
scala-129c9d2ca3fa244d9605e291264bf6dc10332186.zip
fix t7634 to work on Cygwin
this was failing because the expected output was: res1: List[String] = List(shello, world.) but the actual output was: res1: List[String] = List(shello, world., Picked up _JAVA_OPTIONS: -Duser.home=y:\jenkins) but the "Picked up..." part caused partest's filters feature to ignore the entire line (it doesn't anchor matches to start of line.) This was a tough one to track down.
Diffstat (limited to 'test/files/run/t7634.scala')
-rw-r--r--test/files/run/t7634.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t7634.scala b/test/files/run/t7634.scala
index aeb6a5e671..9520931941 100644
--- a/test/files/run/t7634.scala
+++ b/test/files/run/t7634.scala
@@ -9,7 +9,7 @@ import scala.util.Properties.propOrElse
object Test extends ReplTest {
def java = propOrElse("javacmd", "java")
def code = s""":sh $java -classpath $testOutput hello.Hello
- |.lines""".stripMargin
+ |.lines.foreach(println)""".stripMargin
}
package hello {