mirror of https://github.com/apache/maven.git
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:
parent
7d49eceb51
commit
cf9c67bd42
|
@ -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 + "'" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue