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

@@ -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();
}
}