Skip to content

Commit

Permalink
Delayed tagging #2 (tests fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
host6 committed Dec 5, 2017
1 parent 75dedcd commit 779c2b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/scm4j/releaser/cli/CLITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ public void testExceptionUnknownComponent() throws Exception {
String[] args = new String[] {CLICommand.STATUS.getStrValue(), "unknown:component"};
CommandLine cmd = new CommandLine(args);
CLI.setReleaser(new SCMReleaser());
try {
try (TestEnvironment te = new TestEnvironment()) {
te.generateTestEnvironmentNoVCS();
new CLI().getActionTree(cmd);
fail();
} catch (EComponentConfig e) {
Expand Down

0 comments on commit 779c2b7

Please sign in to comment.