GROOVY-5936: provide an iterator backed implementation for Iterator DGM dropRight rather than convert to a list (additional test - fix for java 1.7)
diff --git a/src/test/groovy/GroovyMethodsTest.groovy b/src/test/groovy/GroovyMethodsTest.groovy
index 7c0a39f..cbffeb5 100644
--- a/src/test/groovy/GroovyMethodsTest.groovy
+++ b/src/test/groovy/GroovyMethodsTest.groovy
@@ -1846,6 +1846,7 @@
new Iterator() {
boolean hasNext() { cursor < ExplodingList.this.size() }
def next() { ExplodingList.this.get(cursor++) }
+ void remove() {}
}
}
}