< prev index next >
test/tools/jmod/JmodNegativeTest.java
Print this page
@@ -80,20 +80,20 @@
@Test
public void testNoArgs() {
jmod()
.assertFailure()
.resultChecker(r ->
- assertContains(r.output, "Error: one of create, list, describe, or hash must be specified")
+ assertContains(r.output, "Error: one of create, extract, list, describe, or hash must be specified")
);
}
@Test
public void testBadAction() {
jmod("badAction")
.assertFailure()
.resultChecker(r ->
- assertContains(r.output, "Error: mode must be one of create, list, describe, or hash")
+ assertContains(r.output, "Error: mode must be one of create, extract, list, describe, or hash")
);
jmod("--badOption")
.assertFailure()
.resultChecker(r ->
< prev index next >