diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-11 09:56:31 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-11 09:56:31 -0800 |
commit | 481772db255ca3b5577059ee948f29ed3423aea4 (patch) | |
tree | ff5b18c040ada0e2d4ffa1be358e0efae159626b /test/files/run/repl-javap-mem.scala | |
parent | ecea3fc58338f8d4d4bab0f56e2101dbf2a9c0ed (diff) | |
download | scala-481772db255ca3b5577059ee948f29ed3423aea4.tar.gz scala-481772db255ca3b5577059ee948f29ed3423aea4.tar.bz2 scala-481772db255ca3b5577059ee948f29ed3423aea4.zip |
Moved repl javap tests into pending.
For not passing on java6.
Diffstat (limited to 'test/files/run/repl-javap-mem.scala')
-rw-r--r-- | test/files/run/repl-javap-mem.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/files/run/repl-javap-mem.scala b/test/files/run/repl-javap-mem.scala deleted file mode 100644 index 8db30e835c..0000000000 --- a/test/files/run/repl-javap-mem.scala +++ /dev/null @@ -1,19 +0,0 @@ -import scala.tools.partest.JavapTest - -object Test extends JavapTest { - def code = """ - |object Betty { - | val ds = List(1,2,3) filter (_ % 2 == 0) map (_ * 3) - | def m(vs: List[Int]) = vs filter (_ % 2 != 0) map (_ * 2) - |} - |:javap Betty#m - """.stripMargin - - // filter for requested method member - override def yah(res: Seq[String]) = { - // cheaply, methods end in arg list - val p = """.*m\(.*\);""".r - def filtered = res filter (_ match { case p() => true case _ => false }) - 1 == filtered.size - } -} |