From 6d852e1f30ef9e704dbd88aefae60ad632ad3541 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Wed, 29 Mar 2017 17:14:40 +0200 Subject: Fix #2147: redirect both java and scala std out/err --- tests/partest-test/i2147.check | 3 +++ tests/partest-test/i2147.scala | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/partest-test/i2147.check create mode 100644 tests/partest-test/i2147.scala (limited to 'tests/partest-test') diff --git a/tests/partest-test/i2147.check b/tests/partest-test/i2147.check new file mode 100644 index 000000000..64a4b735b --- /dev/null +++ b/tests/partest-test/i2147.check @@ -0,0 +1,3 @@ +Felix is number 1 +ducksarethebest.org +foolsRus.org diff --git a/tests/partest-test/i2147.scala b/tests/partest-test/i2147.scala new file mode 100644 index 000000000..dd9839838 --- /dev/null +++ b/tests/partest-test/i2147.scala @@ -0,0 +1,7 @@ +object Test { + def main(args: Array[String]): Unit = { + println("Guillaume is number 1") + System.out.println("ducksarethebest.com") + System.err.println("foolsRus.com") + } +} -- cgit v1.2.3