diff options
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 |