Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8d155d

Browse filesBrowse files
committed
Fix some testing XML files checkout with incorrect eol
1 parent 10f7295 commit f8d155d
Copy full SHA for f8d155d

File tree

Expand file treeCollapse file tree

4 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+6
-2
lines changed

‎.gitattributes

Copy file name to clipboardExpand all lines: .gitattributes
+4Lines changed: 4 additions & 0 deletions
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

Copy file name to clipboardExpand all lines: src/test/java/org/codehaus/plexus/util/xml/pull/MXParserTest.java
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.