Skip to content

Commit

Permalink
Fix #199 FreeMarkerHelperTest.testRenderTemplateForUpdateFileHeader
Browse files Browse the repository at this point in the history
fails on Windows
  • Loading branch information
ppalaga committed Jan 11, 2019
1 parent f694914 commit 46b03ae
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
*/
public class FreeMarkerHelperTest
{
private final String LS = System.getProperty( "line.separator" );

/**
* Logger.
*/
Expand Down Expand Up @@ -150,9 +148,7 @@ public void testRenderTemplateForUpdateFileHeader()

String s =
helper.renderTemplate( "/org/codehaus/mojo/license/default-file-header-description.ftl", properties );
Assert.assertEquals( "projectName" + LS +
"$Id:" + "$" + LS +
"$HeadURL:" + "$", s );
Assert.assertEquals( "projectName\n$Id:$\n$HeadURL:$", s );
if ( log.isInfoEnabled() )
{
log.info( s );
Expand Down

0 comments on commit 46b03ae

Please sign in to comment.