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 2021/08/13 14:11:11 UTC

[maven-javadoc-plugin] branch stabilize updated: assert complete -J-Dhttp.nonProxyHosts argument including surrounding quotes

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

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


The following commit(s) were added to refs/heads/stabilize by this push:
     new 91cc957  assert complete -J-Dhttp.nonProxyHosts argument including surrounding quotes
91cc957 is described below

commit 91cc9571a6dbf4e6120033ce2b422c01ccf3c6d5
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Aug 13 16:10:59 2021 +0200

    assert complete -J-Dhttp.nonProxyHosts argument including surrounding quotes
---
 src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 7e81ce8..7ade1a6 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -992,11 +992,11 @@ public class JavadocReportTest
         assertThat( readed ).contains( "-J-Dhttp.proxyHost=127.0.0.1" ).contains( "-J-Dhttp.proxyPort=80" );
         if ( SystemUtils.IS_OS_WINDOWS )
         {
-            assertThat( readed ).contains( "-J-Dhttp.nonProxyHosts=\"www.google.com^|*.somewhere.com\"" );
+            assertThat( readed ).contains( " -J-Dhttp.nonProxyHosts=\"www.google.com^|*.somewhere.com\" " );
         }
         else
         {
-            assertThat( readed ).contains( "\"-J-Dhttp.nonProxyHosts=www.google.com^|*.somewhere.com\"" );
+            assertThat( readed ).contains( " \"-J-Dhttp.nonProxyHosts=\\\"www.google.com^|*.somewhere.com\\\"\" " );
         }
 
         Path options = new File( getBasedir(), "target/test/unit/proxy-test/target/site/apidocs/options" ).toPath();