diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-01-11 11:38:14 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-01-11 11:38:14 -0800 |
commit | f7490d51bf03ca45749b767b0bf36131a466b2ee (patch) | |
tree | 854b6834143cb5b32d1883001468d3e82920ffba /test/files/run/repl-javap-outdir/run-repl_7.scala | |
parent | 3bb8745ca7dcda8c81103b3965b83973b4a72214 (diff) | |
download | scala-f7490d51bf03ca45749b767b0bf36131a466b2ee.tar.gz scala-f7490d51bf03ca45749b767b0bf36131a466b2ee.tar.bz2 scala-f7490d51bf03ca45749b767b0bf36131a466b2ee.zip |
Restore pending repl-javap tests that now succeed under java 6.
Knock on wood.
Diffstat (limited to 'test/files/run/repl-javap-outdir/run-repl_7.scala')
-rw-r--r-- | test/files/run/repl-javap-outdir/run-repl_7.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/repl-javap-outdir/run-repl_7.scala b/test/files/run/repl-javap-outdir/run-repl_7.scala new file mode 100644 index 0000000000..dc2c5719ff --- /dev/null +++ b/test/files/run/repl-javap-outdir/run-repl_7.scala @@ -0,0 +1,12 @@ +import scala.tools.partest.JavapTest + +object Test extends JavapTest { + def code = """ + |:javap disktest/Foo.class + """.stripMargin + + override def yah(res: Seq[String]) = { + def filtered = res filter (_ contains "public class disktest.Foo") + 1 == filtered.size + } +} |