summaryrefslogtreecommitdiff
path: root/test/files/specialized
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-02-16 16:54:27 +0100
committerVlad Ureche <vlad.ureche@gmail.com>2012-02-16 16:54:27 +0100
commitb1870ae3670dc4faf85377a147e65ed45cf073f4 (patch)
tree0604d940ff76510d83ac4b4e9eaa1e852f3c796a /test/files/specialized
parent91148376049a152edec12348ff9b7e9e93e6ebe1 (diff)
downloadscala-b1870ae3670dc4faf85377a147e65ed45cf073f4.tar.gz
scala-b1870ae3670dc4faf85377a147e65ed45cf073f4.tar.bz2
scala-b1870ae3670dc4faf85377a147e65ed45cf073f4.zip
Prevent extaneous output in SI-5005
Diffstat (limited to 'test/files/specialized')
-rw-r--r--test/files/specialized/SI-5005.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/specialized/SI-5005.scala b/test/files/specialized/SI-5005.scala
index cc9d327b08..3d1ada49e2 100644
--- a/test/files/specialized/SI-5005.scala
+++ b/test/files/specialized/SI-5005.scala
@@ -17,7 +17,11 @@ object Test extends DirectTest {
override def show(): Unit = {
// redirect err to out, for inliner log
- System.setErr(new PrintStream(System.out));
+ val prevErr = System.err
+ System.setErr(System.out)
compile()
+ System.setErr(prevErr)
}
+
+ override def isDebug = false // so we don't get the newSettings warning
}