mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
cf68f83ef6
commit
90f7bc0321
@ -357,8 +357,11 @@ public final class ConfigurationMetadataMatchers {
|
||||
}
|
||||
|
||||
public static class ValueProviderMatcher extends BaseMatcher<ItemHint> {
|
||||
|
||||
private final int index;
|
||||
|
||||
private final String name;
|
||||
|
||||
private final Map<String, Object> parameters;
|
||||
|
||||
public ValueProviderMatcher(int index, String name,
|
||||
|
@ -148,8 +148,8 @@ public class LogbackLoggingSystemTests extends AbstractLoggingSystemTests {
|
||||
this.loggingSystem.beforeInitialize();
|
||||
this.loggingSystem.initialize(this.initializationContext, null, null);
|
||||
String output = this.output.toString().trim();
|
||||
assertTrue("Wrong output:\n" + output, output.contains("Ignoring " +
|
||||
"'logback.configurationFile' system property. Please use 'logging.path' instead."));
|
||||
assertTrue("Wrong output:\n" + output, output.contains("Ignoring "
|
||||
+ "'logback.configurationFile' system property. Please use 'logging.path' instead."));
|
||||
}
|
||||
finally {
|
||||
System.clearProperty("logback.configurationFile");
|
||||
|
Loading…
Reference in New Issue
Block a user