Strengthen package-like assertions
See gh-42682
This commit is contained in:
committed by
Phillip Webb
parent
98dd7b2758
commit
87cc2efb64
@@ -138,7 +138,7 @@ class EnvironmentEndpointDocumentationTests extends MockMvcEndpointDocumentation
|
||||
}
|
||||
|
||||
private boolean retainKey(String key) {
|
||||
return key.startsWith("java.") || key.equals("JAVA_HOME") || key.startsWith("com.example");
|
||||
return key.startsWith("java.") || key.equals("JAVA_HOME") || key.startsWith("com.example.");
|
||||
}
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
|
||||
Reference in New Issue
Block a user