This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MJDEPS-26
in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git
The following commit(s) were added to refs/heads/MJDEPS-26 by this push:
new 8036d3f Adjust expression
8036d3f is described below
commit 8036d3ff4f3abb14444846917778003b36602b4e
Author: rfscholte <[email protected]>
AuthorDate: Fri Jul 2 13:50:33 2021 +0200
Adjust expression
---
src/it/unsupported-api_main/verify.groovy | 2 +-
src/it/unsupported-api_test/verify.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/it/unsupported-api_main/verify.groovy
b/src/it/unsupported-api_main/verify.groovy
index bee8726..7648909 100644
--- a/src/it/unsupported-api_main/verify.groovy
+++ b/src/it/unsupported-api_main/verify.groovy
@@ -20,4 +20,4 @@
def buildLog = new File( basedir, 'build.log' )
-assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API\(.+\)/
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API.*/
diff --git a/src/it/unsupported-api_test/verify.groovy
b/src/it/unsupported-api_test/verify.groovy
index c512986..88ad755 100644
--- a/src/it/unsupported-api_test/verify.groovy
+++ b/src/it/unsupported-api_test/verify.groovy
@@ -20,4 +20,4 @@
def buildLog = new File( basedir, 'build.log' )
-assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API\(.+\)/
\ No newline at end of file
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/)
}.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK (removed )?internal API.*/
\ No newline at end of file