attempt to correct issue with Windows CI build

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1004606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2010-10-05 10:45:21 +00:00
parent 7d49eceb51
commit cf9c67bd42
1 changed files with 2 additions and 1 deletions

View File

@ -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 + "'" );
}