You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/03/15 13:53:56 UTC

[maven-jdeps-plugin] branch unsupportedAPI_regex updated: adjust regex

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch unsupportedAPI_regex
in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git


The following commit(s) were added to refs/heads/unsupportedAPI_regex by this push:
     new 41bb755  adjust regex
41bb755 is described below

commit 41bb755fce259f931b6d34fd04bbca6eed66ca1f
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Mar 15 14:53:46 2019 +0100

    adjust regex
---
 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 022ef99..b7aa41b 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\]  sun\.misc -> JDK internal API \(.+\)/
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/) }.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK internal API \(.+\)/
diff --git a/src/it/unsupported-api_test/verify.groovy b/src/it/unsupported-api_test/verify.groovy
index 022ef99..5e97e6c 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\]  sun\.misc -> JDK internal API \(.+\)/
+assert buildLog.readLines().dropWhile{ !(it =~ /Found offending packages\:$/) }.getAt(1) ==~ /\[ERROR\]\s+sun\.misc -> JDK internal API \(.+\)/
\ No newline at end of file