Skip to content

Commit

Permalink
Issue #6397: upgraded picocli to 3.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and romani committed Feb 19, 2019
1 parent 9ae0a6f commit cb46811
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions config/version-number-rules.xml
Expand Up @@ -28,12 +28,6 @@
<ignoreVersion type="regex">3.10.0</ignoreVersion>
</ignoreVersions>
</rule>
<rule groupId="info.picocli" artifactId="picocli">
<ignoreVersions>
<!-- till https://github.com/checkstyle/checkstyle/issues/6397 -->
<ignoreVersion type="regex">3.9.*</ignoreVersion>
</ignoreVersions>
</rule>
<rule groupId="org.apache.maven.plugins" artifactId="maven-release-plugin">
<ignoreVersions>
<!-- we use 2.1 version that is defined at our parent
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -227,7 +227,7 @@
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>3.9.0</version>
<version>3.9.5</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/com/puppycrawl/tools/checkstyle/MainTest.java
Expand Up @@ -292,7 +292,8 @@ public void testNonExistentOutputFormat() throws Exception {
exit.checkAssertionAfterwards(() -> {
assertEquals("Unexpected output log", "", systemOut.getLog());
assertEquals("Unexpected system error log",
"Invalid value for option '-f': expected one of [xml, plain] but was 'xmlp'"
"Invalid value for option '-f': expected one of [XML, PLAIN]"
+ " (case-insensitive) but was 'xmlp'"
+ EOL + SHORT_USAGE, systemErr.getLog());
});
Main.main("-c", "/google_checks.xml", "-f", "xmlp",
Expand Down

0 comments on commit cb46811

Please sign in to comment.