Skip to content

Commit aa10c34

Browse files
committed
fixed case sensitivity issue causing test to fail on Linux (but not Mac or Windows)
1 parent 11d35b1 commit aa10c34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OpenXmlPowerTools.Tests/UnicodeMapperTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,14 @@ public void TreatsXmlSpaceLikeWord()
206206
{
207207
var sourceDir = new System.IO.DirectoryInfo("../../../../TestFiles/");
208208
// Test document: crafted to include many whitespace patterns that Word accepts as valid input
209-
var testDoc = new System.IO.FileInfo(System.IO.Path.Combine(sourceDir.FullName, "UM-whitespace-test.docx"));
209+
var testDoc = new System.IO.FileInfo(System.IO.Path.Combine(sourceDir.FullName, "UM-Whitespace-test.docx"));
210210
var testWmlDoc = new WmlDocument(testDoc.FullName);
211211
var testParagraphs = testWmlDoc.MainDocumentPart
212212
.Element(W.body)
213213
.Elements(W.p).ToList();
214214
// Canonical document: the same test document after being opened and saved by Word,
215-
// representing Words own normalized interpretation of that whitespace
216-
var expectedDoc = new System.IO.FileInfo(System.IO.Path.Combine(sourceDir.FullName, "UM-whitespace-Word-saved.docx"));
215+
// representing Word's own normalized interpretation of that whitespace
216+
var expectedDoc = new System.IO.FileInfo(System.IO.Path.Combine(sourceDir.FullName, "UM-Whitespace-Word-saved.docx"));
217217
var expectedWmlDoc = new WmlDocument(expectedDoc.FullName);
218218
var expectedParagraphs = expectedWmlDoc.MainDocumentPart
219219
.Element(W.body)

0 commit comments

Comments
 (0)