Skip to content

Commit 2e543f7

Browse files
committed
minor items
1 parent a036a48 commit 2e543f7

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/test/groovy/groovy/grape/GrapeIvyTest.groovy

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ final class GrapeIvyTest {
4444
[groupId:'commons-lang', artifactId:'commons-lang', version:'2.6'],
4545
[groupId:'com.jidesoft', artifactId:'jide-oss', version: jideVersion],
4646
[groupId:'org.neo4j', artifactId:'neo4j-kernel', version:'2.0.0-RC1'],
47+
[groupId:'org.apache.commons', artifactId:'commons-digester3', version:'3.2'],
4748
[groupId:'net.sf.json-lib', artifactId:'json-lib', version:'2.2.3', classifier:'jdk15'],
48-
[groupId:'org.apache.ivy', artifactId:'ivy', version:'2.0.0', conf:['default', 'optional']],
49-
[groupId:'org.apache.commons', artifactId:'commons-digester3', version:'3.2', transitive:false])
49+
[groupId:'org.apache.ivy', artifactId:'ivy', version:'2.0.0', conf:['default', 'optional']])
5050
}
5151

5252
@Test
@@ -404,6 +404,7 @@ final class GrapeIvyTest {
404404
void testTransitiveShorthandExpectFailure() {
405405
shouldFail MissingPropertyException, '''
406406
@Grab('org.apache.commons:commons-digester3:3.2;transitive=false')
407+
@Grab('commons-logging:commons-logging:1.1.1')
407408
import org.apache.commons.digester3.Digester
408409
409410
assert Digester.name.size() == 37
@@ -414,7 +415,7 @@ final class GrapeIvyTest {
414415
@Test
415416
void testAutoDownloadGrapeConfigDefault() {
416417
assertScript '''
417-
@Grab('org.apache.commons:commons-digester3:3.2;transitive=false')
418+
@Grab('org.apache.commons:commons-digester3:3.2')
418419
import org.apache.commons.digester3.Digester
419420
420421
assert Digester.name.size() == 37
@@ -427,7 +428,7 @@ final class GrapeIvyTest {
427428
assumeFalse(System.getProperty('os.name').containsIgnoreCase('windows'))
428429

429430
assertScript '''
430-
@Grab('org.apache.commons:commons-digester3:3.2;transitive=false')
431+
@Grab('org.apache.commons:commons-digester3:3.2')
431432
@GrabConfig(autoDownload=false)
432433
import org.apache.commons.digester3.Digester
433434
@@ -439,7 +440,7 @@ final class GrapeIvyTest {
439440
@Test
440441
void testAutoDownloadGrapeConfigTrue() {
441442
assertScript '''
442-
@Grab('org.apache.commons:commons-digester3:3.2;transitive=false')
443+
@Grab('org.apache.commons:commons-digester3:3.2')
443444
@GrabConfig(autoDownload=true)
444445
import org.apache.commons.digester3.Digester
445446

0 commit comments

Comments
 (0)