Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some testing XML files checkout with incorrect eol #198

Merged
merged 1 commit into from Apr 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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