From f36105f19c95a3d0329ad8b99cb1e8e34fd66d44 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Mon, 2 Jun 2014 17:07:07 +0000 Subject: [PATCH] try to make the IT pass on Windows git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1599269 13f79535-47bb-0310-9956-ffa450edef68 --- maven-plugin-plugin/src/it/help-basic/verify.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-plugin-plugin/src/it/help-basic/verify.groovy b/maven-plugin-plugin/src/it/help-basic/verify.groovy index 9808379..eb4ad85 100644 --- a/maven-plugin-plugin/src/it/help-basic/verify.groovy +++ b/maven-plugin-plugin/src/it/help-basic/verify.groovy @@ -17,9 +17,9 @@ * under the License. */ -expected = new File( basedir, "expected-help.txt" ).text.trim(); +expected = new File( basedir, "expected-help.txt" ).text.trim().replace( "\r", "" ); -log = new File( basedir, "help.log" ).text; +log = new File( basedir, "help.log" ).text.replace( "\r", "" ); log = log.substring( log.indexOf( "[INFO] help 1.0-SNAPSHOT" ) ); log = log.substring( 0, log.indexOf( "[INFO]", 5 ) ).trim();