diff --git a/src/test/java/org/globalbioticinteractions/elton/cmd/CmdLineTest.java b/src/test/java/org/globalbioticinteractions/elton/cmd/CmdLineTest.java index efc8897..692cadd 100644 --- a/src/test/java/org/globalbioticinteractions/elton/cmd/CmdLineTest.java +++ b/src/test/java/org/globalbioticinteractions/elton/cmd/CmdLineTest.java @@ -19,12 +19,12 @@ public void check() throws Throwable { CmdLine.run(new String[]{"check", "--cache-dir=target/tmp-datasets", "globalbioticinteractions/template-dataset"}); } - @Test(expected = MissingCommandException.class) + @Test public void invalidCommand() throws Throwable { CmdLine.run(new String[]{"bla", "globalbioticinteractions/template-dataset"}); } - @Test(expected = MissingCommandException.class) + @Test public void noCommand() throws Throwable { CmdLine.run(new String[]{}); }