Permalink
Browse files

SI-7398 Enable test for Java 8 source parser under Java 8

There is no need to skip it as it only depends on our changes
to our JavaParser, and not on any bytecode features of Java 8.
  • Loading branch information...
retronym committed Sep 9, 2013
1 parent bf0f9da commit a1796aa5ed280203c1bfc086ee5a368ae628611d
Showing with 2 additions and 4 deletions.
  1. +2 −4 test/files/run/t7398.scala
@@ -3,11 +3,9 @@ import scala.tools.partest._
object Test extends CompilerTest {
import global._
- // This way we auto-pass on non-java8 since there's nothing to check
- override lazy val units: List[CompilationUnit] = testUnderJavaAtLeast("1.8") {
+ override lazy val units: List[CompilationUnit] = {
+ // This test itself does not depend on JDK8.
javaCompilationUnits(global)(defaultMethodSource)
- } otherwise {
- Nil
}
private def defaultMethodSource = """

0 comments on commit a1796aa

Please sign in to comment.