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-artifact-plugin.git

commit 75b97874ddbc97473d8b47be3d6229ab427a7c13
Author: rfscholte <rfscho...@apache.org>
AuthorDate: Fri Oct 15 11:56:27 2021 +0200

    Fix compare-mono/verify.groovy for Windows
---
 src/it/compare-mono/verify.groovy | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/it/compare-mono/verify.groovy 
b/src/it/compare-mono/verify.groovy
index 93f0bbf..09c3c4f 100644
--- a/src/it/compare-mono/verify.groovy
+++ b/src/it/compare-mono/verify.groovy
@@ -30,4 +30,9 @@ assert compare.contains( "ok=1" )
 assert compare.contains( "ko=1" )
 assert compare.contains( 'okFiles="mono-1.0-SNAPSHOT.pom"' )
 assert compare.contains( 'koFiles="mono-1.0-SNAPSHOT.jar"' )
-assert compare.contains( '# diffoscope target/reference/mono-1.0-SNAPSHOT.jar 
target/mono-1.0-SNAPSHOT.jar' )
+if( File.separator == '/' ) {
+  assert compare.contains( '# diffoscope 
target/reference/mono-1.0-SNAPSHOT.jar target/mono-1.0-SNAPSHOT.jar' )
+} else {
+  assert compare.contains( '# diffoscope 
target\\reference\\mono-1.0-SNAPSHOT.jar target\\mono-1.0-SNAPSHOT.jar' )
+}
+

Reply via email to