This commit is contained in:
Phillip Webb
2015-12-10 17:28:50 +00:00
parent f3bcf94fb0
commit 0489a3b4de
28 changed files with 135 additions and 121 deletions

View File

@@ -41,8 +41,8 @@ public class DefaultCommandFactory implements CommandFactory {
private static final List<Command> DEFAULT_COMMANDS = Arrays.<Command>asList(
new VersionCommand(), new RunCommand(), new TestCommand(), new GrabCommand(),
new JarCommand(), new WarCommand(), new InstallCommand(), new UninstallCommand(),
new InitCommand());
new JarCommand(), new WarCommand(), new InstallCommand(),
new UninstallCommand(), new InitCommand());
@Override
public Collection<Command> getCommands() {

View File

@@ -44,7 +44,8 @@ public class SpringApplicationRunnerTests {
given(configuration.getLogLevel()).willReturn(Level.INFO);
this.thrown.expect(RuntimeException.class);
this.thrown.expectMessage(equalTo("No classes found in '[foo, bar]'"));
new SpringApplicationRunner(configuration, new String[] { "foo", "bar" }).compileAndRun();
new SpringApplicationRunner(configuration, new String[] { "foo", "bar" })
.compileAndRun();
}
}