Skip to content

Commit

Permalink
Fix some testing XML files checkout with incorrect eol
Browse files Browse the repository at this point in the history
  • Loading branch information
belingueres authored and michael-o committed Apr 17, 2022
1 parent 10f7295 commit 0d384e7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Expand Up @@ -6,3 +6,7 @@
*.css text
*.js text
*.sql text

# some files require the correct eol for proper testing
*-DOS.xml text eol=crlf
*-UNIX.xml text eol=lf
Expand Up @@ -1081,7 +1081,7 @@ public void testCustomEntityNotFoundInAttrTokenize() throws Exception
public void testDocdeclTextWithEntitiesUnix()
throws IOException
{
testDocdeclTextWithEntities( "test-entities.xml" );
testDocdeclTextWithEntities( "test-entities-UNIX.xml" );
}

/**
Expand All @@ -1099,7 +1099,7 @@ public void testDocdeclTextWithEntitiesUnix()
public void testDocdeclTextWithEntitiesDOS()
throws IOException
{
testDocdeclTextWithEntities( "test-entities-dos.xml" );
testDocdeclTextWithEntities( "test-entities-DOS.xml" );
}

private void testDocdeclTextWithEntities( String filename )
Expand Down Expand Up @@ -1144,7 +1144,7 @@ private void testDocdeclTextWithEntities( String filename )
public void testDocdeclTextWithEntitiesInAttributesUnix()
throws IOException
{
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr.xml" );
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-UNIX.xml" );
}

/**
Expand All @@ -1162,7 +1162,7 @@ public void testDocdeclTextWithEntitiesInAttributesUnix()
public void testDocdeclTextWithEntitiesInAttributesDOS()
throws IOException
{
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-dos.xml" );
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-DOS.xml" );
}

private void testDocdeclTextWithEntitiesInAttributes( String filename )
Expand Down
File renamed without changes.

0 comments on commit 0d384e7

Please sign in to comment.