diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-11-02 14:34:35 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-11-02 14:34:35 +0000 |
commit | b6778be91900b8161e705dc2598ef7af86842b0b (patch) | |
tree | d15e8ec18a37eec212f50f1ace27714d7e7d4d34 /test/files/run/t4532.scala | |
parent | ac6c76f26d884a94d0c9ff54f055d3f9ab750bac (diff) | |
download | scala-b6778be91900b8161e705dc2598ef7af86842b0b.tar.gz scala-b6778be91900b8161e705dc2598ef7af86842b0b.tar.bz2 scala-b6778be91900b8161e705dc2598ef7af86842b0b.zip |
Begone t1737...
Diffstat (limited to 'test/files/run/t4532.scala')
-rw-r--r-- | test/files/run/t4532.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/run/t4532.scala b/test/files/run/t4532.scala index 2e100f2cc7..0dabd2dca4 100644 --- a/test/files/run/t4532.scala +++ b/test/files/run/t4532.scala @@ -2,13 +2,13 @@ import scala.tools.partest.ReplTest import scala.tools.util.Javap object Test extends ReplTest { - + // ugh, windows def expectedOutput = """Type in expressions to have them evaluated. Type :help for more information. -scala> +scala> scala> object Bippy { class Dingus ; object Bop } defined module Bippy @@ -17,12 +17,12 @@ scala> :javap Bippy.Dingus Compiled from "<console>"public class Bippy$Dingus extends java.lang.Object implements scala.ScalaObject{ public Bippy$Dingus();} scala> :javap Bippy.Bop Compiled from "<console>"public final class Bippy$Bop$ extends java.lang.Object implements scala.ScalaObject{ public static final Bippy$Bop$ MODULE$; public static {}; public Bippy$Bop$();} -scala> +scala> -scala> +scala> """ - override def eval() = + override def eval() = if (Javap.isAvailable()) super.eval() else expectedOutput.lines |