mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Merge branch '3.1.x' into 3.2.x
Closes gh-40529
This commit is contained in:
commit
5707ca83e9
@ -198,10 +198,8 @@ public class GradleBuild {
|
||||
if (this.expectDeprecationWarnings == null || (this.gradleVersion != null
|
||||
&& this.expectDeprecationWarnings.compareTo(GradleVersion.version(this.gradleVersion)) > 0)) {
|
||||
String buildOutput = result.getOutput();
|
||||
if (this.expectedDeprecationMessages != null) {
|
||||
for (String message : this.expectedDeprecationMessages) {
|
||||
buildOutput = buildOutput.replaceAll(message, "");
|
||||
}
|
||||
for (String message : this.expectedDeprecationMessages) {
|
||||
buildOutput = buildOutput.replaceAll(message, "");
|
||||
}
|
||||
assertThat(buildOutput).doesNotContainIgnoringCase("deprecated");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user