Skip to content

Commit dc46aaa

Browse files
committed
Use ignore line endings
1 parent 92d868b commit dc46aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SIL.Machine.Tests/Corpora/UpdateUsfmParserHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ public void UpdateBlock_Verse_Range_RightToLeftMarker()
927927
\c 1
928928
\v 1-3 Update 1-3
929929
";
930-
Assert.That(updatedUsfm.Replace("\r\n", "\n"), Is.EqualTo(expectedUsfm));
930+
Assert.That(updatedUsfm, Is.EqualTo(expectedUsfm).IgnoreLineEndings());
931931
Assert.That(usfmUpdateBlockHandler.Blocks.Count, Is.EqualTo(1));
932932

933933
UsfmUpdateBlock usfmUpdateBlock = usfmUpdateBlockHandler.Blocks[0];

0 commit comments

Comments
 (0)