Skip to content

Commit 030035e

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

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
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

+4-4
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
/**
@@ -1099,7 +1099,7 @@ public void testDocdeclTextWithEntitiesUnix()
10991099
public void testDocdeclTextWithEntitiesDOS()
11001100
throws IOException
11011101
{
1102-
testDocdeclTextWithEntities( "test-entities-dos.xml" );
1102+
testDocdeclTextWithEntities( "test-entities-DOS.xml" );
11031103
}
11041104

11051105
private void testDocdeclTextWithEntities( String filename )
@@ -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
/**
@@ -1162,7 +1162,7 @@ public void testDocdeclTextWithEntitiesInAttributesUnix()
11621162
public void testDocdeclTextWithEntitiesInAttributesDOS()
11631163
throws IOException
11641164
{
1165-
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-dos.xml" );
1165+
testDocdeclTextWithEntitiesInAttributes( "test-entities-in-attr-DOS.xml" );
11661166
}
11671167

11681168
private void testDocdeclTextWithEntitiesInAttributes( String filename )

0 commit comments

Comments
 (0)