Author: brett
Date: Tue Oct  5 10:45:21 2010
New Revision: 1004606

URL: http://svn.apache.org/viewvc?rev=1004606&view=rev
Log:
attempt to correct issue with Windows CI build

Modified:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java?rev=1004606&r1=1004605&r2=1004606&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-3652/test-plugin/src/main/java/org/apache/maven/its/mng3652/MyMojo.java
 Tue Oct  5 10:45:21 2010
@@ -120,8 +120,9 @@ public class MyMojo
 
         try
         {
+            String LS = System.getProperty( "line.separator" );
             String content = FileUtils.fileRead( artifact.getFile() );
-            if ( !content.equals( "some content\n\n" ) )
+            if ( !content.equals( "some content" + LS + LS ) )
             {
                 throw new MojoExecutionException( "Expected 'some content\n\n' 
but was '" + content + "'" );
             }


Reply via email to