Skip to content

Commit f8d155d

Browse files
committed
Fix some testing XML files checkout with incorrect eol
1 parent 10f7295 commit f8d155d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66
*.css text
77
*.js text
88
*.sql text
9+
10+
# some files require the correct eol for proper testing
11+
*dos.xml text eol=crlf
12+
*unix.xml text eol=lf

src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ public void testCustomEntityNotFoundInAttrTokenize() throws Exception
10811081
public void testDocdeclTextWithEntitiesUnix()
10821082
throws IOException
10831083
{
1084-
testDocdeclTextWithEntities( "test-entities.xml" );
1084+
testDocdeclTextWithEntities( "test-entities-unix.xml" );
10851085
}
10861086

10871087
/**
@@ -1144,7 +1144,7 @@ private void testDocdeclTextWithEntities( String filename )
11441144
public void testDocdeclTextWithEntitiesInAttributesUnix()
11451145
throws IOException
11461146
{
1147-
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr.xml" );
1147+
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-unix.xml" );
11481148
}
11491149

11501150
/**

0 commit comments

Comments
 (0)