ksravista commented on code in PR #143:
URL:
https://github.com/apache/hbase-operator-tools/pull/143#discussion_r1640385627
##########
hbase-hbck2/src/test/java/org/apache/hbase/TestHBCKCommandLineParsing.java:
##########
@@ -86,6 +86,19 @@ public void testErrorMessage() throws IOException {
}
}
+ @Test
+ public void testInvalidCommandPrintsError() throws IOException {
+ String output = retrieveOptionOutput(new String[] { "invalidArg", "-h" });
+ assertTrue(output.contains("ERROR:"));
+ }
+
+ @Test
+ public void testPrintsCorrectUsage() throws IOException {
Review Comment:
will update it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]