mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 19:09:03 +00:00
Polish
This commit is contained in:
+2
-2
@@ -39,8 +39,8 @@ public class SampleMongoApplicationTests {
|
||||
public void testDefaultSettings() throws Exception {
|
||||
try {
|
||||
SampleMongoApplication.main(new String[0]);
|
||||
} catch (IllegalStateException e) {
|
||||
if (serverNotRunning(e)) {
|
||||
} catch (IllegalStateException ex) {
|
||||
if (serverNotRunning(ex)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user