From 493722d5a8ff260980d04d1eaed81090d1b2acf4 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Tue, 4 Apr 2023 08:28:17 -0400 Subject: [PATCH] MPMD-367 don't fail on unrelated warnings --- src/it/MPMD-270-325-JDK11/verify.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/it/MPMD-270-325-JDK11/verify.groovy b/src/it/MPMD-270-325-JDK11/verify.groovy index ebb6a94c..2846ad3c 100644 --- a/src/it/MPMD-270-325-JDK11/verify.groovy +++ b/src/it/MPMD-270-325-JDK11/verify.groovy @@ -21,4 +21,4 @@ File buildLog = new File( basedir, 'build.log' ) assert buildLog.exists() assert buildLog.text.contains( '[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3' ) -assert !buildLog.text.contains( '[WARNING]' ) +assert !buildLog.text.contains( '[WARNING] PMD' )