You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by rp...@apache.org on 2020/05/16 23:23:38 UTC
[groovy] branch GROOVY_3_0_X updated: GROOVY-9553: bump picocli to
4.3.2
This is an automated email from the ASF dual-hosted git repository.
rpopma pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 3a6cfc1 GROOVY-9553: bump picocli to 4.3.2
3a6cfc1 is described below
commit 3a6cfc16ab5d455140255ed7b6ad5ada1ef4e5da
Author: Remko Popma <re...@yahoo.com>
AuthorDate: Sun May 17 08:06:33 2020 +0900
GROOVY-9553: bump picocli to 4.3.2
(cherry picked from commit 1f24e2eebe6ad6ea6e379b1febd578001e939d40)
---
build.gradle | 3 ++-
.../src/test/groovy/groovy/cli/picocli/CliBuilderTest.groovy | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/build.gradle b/build.gradle
index 261331e..63d8c5f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -88,6 +88,7 @@ allprojects {
jcenter()
// maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://dl.bintray.com/melix/thirdparty-apache' } // openbeans
+// mavenLocal()
}
ext.buildDate = isReleaseVersion?new Date():new Date(0)
@@ -145,7 +146,7 @@ ext {
log4jVersion = '1.2.17'
log4j2Version = '2.8'
openbeansVersion = '1.0'
- picocliVersion = '4.2.0'
+ picocliVersion = '4.3.2'
qdoxVersion = '1.12.1'
slf4jVersion = '1.7.25'
xmlunitVersion = '1.6'
diff --git a/subprojects/groovy-cli-picocli/src/test/groovy/groovy/cli/picocli/CliBuilderTest.groovy b/subprojects/groovy-cli-picocli/src/test/groovy/groovy/cli/picocli/CliBuilderTest.groovy
index 9212f69..55e851a 100644
--- a/subprojects/groovy-cli-picocli/src/test/groovy/groovy/cli/picocli/CliBuilderTest.groovy
+++ b/subprojects/groovy-cli-picocli/src/test/groovy/groovy/cli/picocli/CliBuilderTest.groovy
@@ -161,9 +161,9 @@ class CliBuilderTest extends GroovyTestCase {
cli.parse([])
// NB: This test is very fragile and is bound to fail on different locales and versions of commons-cli... :-(
assert stringWriter.toString() == String.format(
- "error: Missing required option '-x'%n" +\
+ "error: Missing required option: '-x'%n" +\
"Usage: groovy -x%n" +\
- " -x message%n")
+ " -x message%n")
}
void testLongOptsOnly_nonOptionShouldStopArgProcessing() {