You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2020/08/14 19:24:14 UTC

[accumulo] branch 1.10 updated: Update jcommander to 1.78 (#1684)

This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch 1.10
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.10 by this push:
     new 7a01fb0  Update jcommander to 1.78 (#1684)
7a01fb0 is described below

commit 7a01fb020eb28a69f3fe17c5882cf1775e5257d0
Author: Mike Miller <mm...@apache.org>
AuthorDate: Fri Aug 14 15:24:07 2020 -0400

    Update jcommander to 1.78 (#1684)
---
 pom.xml                                                            | 2 +-
 shell/src/test/java/org/apache/accumulo/shell/ShellConfigTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ba3cca2..51a077b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,7 +158,7 @@
       <dependency>
         <groupId>com.beust</groupId>
         <artifactId>jcommander</artifactId>
-        <version>1.48</version>
+        <version>1.78</version>
       </dependency>
       <dependency>
         <groupId>com.google.auto.service</groupId>
diff --git a/shell/src/test/java/org/apache/accumulo/shell/ShellConfigTest.java b/shell/src/test/java/org/apache/accumulo/shell/ShellConfigTest.java
index ac20386..bc5786a 100644
--- a/shell/src/test/java/org/apache/accumulo/shell/ShellConfigTest.java
+++ b/shell/src/test/java/org/apache/accumulo/shell/ShellConfigTest.java
@@ -94,7 +94,7 @@ public class ShellConfigTest {
   @Test
   public void testBadArg() throws IOException {
     assertFalse(shell.config(args("--bogus")));
-    assertTrue("Did not print usage", output.get().startsWith("Usage"));
+    assertTrue("Did not print usage", output.get().contains("Unrecognized"));
   }
 
   @Test