mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Polish
This commit is contained in:
parent
a9645a3d07
commit
83a6f02ec4
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -40,8 +40,7 @@ public class TestRunnerTests {
|
||||
given(configuration.getClasspath()).willReturn(new String[0]);
|
||||
this.thrown.expect(RuntimeException.class);
|
||||
this.thrown.expectMessage(equalTo("No classes found in '[foo, bar]'"));
|
||||
new TestRunner(configuration, new String[] { "foo", "bar" }, new String[0])
|
||||
.compileAndRunTests();
|
||||
new TestRunner(configuration, new String[] { "foo", "bar" }).compileAndRunTests();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user