Polish
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user