Skip to content

Commit

Permalink
Update the Groovy plug-in to 4.0.0-beta-1
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-milles committed Sep 7, 2021
1 parent 4cad494 commit 41c4897
Show file tree
Hide file tree
Showing 116 changed files with 6,513 additions and 11,028 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,8 @@ public void testDGMDeclaring6() {
public void testDGMDeclaring7() {
String contents = "['x','y','z'].stream().toList()";
float version = Float.parseFloat(System.getProperty("java.specification.version"));
assertDeclType(contents, "toList", version > 15 ? "java.util.stream.Stream<java.lang.String>" : "org.codehaus.groovy.vmplugin.v8.PluginDefaultGroovyMethods");
assertDeclType(contents, "toList", version > 15 ? "java.util.stream.Stream<java.lang.String>"
: isAtLeastGroovy(40) ? "org.codehaus.groovy.runtime.StreamGroovyMethods" : "org.codehaus.groovy.vmplugin.v8.PluginDefaultGroovyMethods");
}

@Test // https://github.com/groovy/groovy-eclipse/issues/1002
Expand Down
Loading

0 comments on commit 41c4897

Please sign in to comment.