blob: 6c6fe2d5150a17f21ebd54d5906742ad50e8f5ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import scala.tools.partest.JavapTest
object Test extends JavapTest {
def code = """
|:javap -fun disktest/Foo.class
""".stripMargin
override def yah(res: Seq[String]) =
// It's currently unknown why this test fails on Avian with
// “Failed: No anonfuns found.”, skip it for now. See SI-7630.
if (scala.tools.partest.utils.Properties.isAvian)
true
else {
def filtered = res filter (_ contains "public final class disktest.Foo")
1 == filtered.size
}
}
|