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:06:46 UTC
[groovy] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 1f24e2e GROOVY-9553: bump picocli to 4.3.2
1f24e2e is described below
commit 1f24e2eebe6ad6ea6e379b1febd578001e939d40
Author: Remko Popma <re...@yahoo.com>
AuthorDate: Sun May 17 08:06:33 2020 +0900
GROOVY-9553: bump picocli to 4.3.2
---
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 da038f4..82887a0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -87,6 +87,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)
@@ -141,7 +142,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 1840b4c..0693d0f 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() {