Skip to content

Commit

Permalink
Repeatable test for:
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Dec 23, 2024
1 parent 8319868 commit 64dc9dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/SIL.Machine.Tests/Corpora/UsfmMemoryTextTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,20 @@ public void GetRows_OptBreak_OutsideOfSegment()
});
}

[Test]
public void GetRows_VeryOddVerse()
{
TextRow[] rows = GetRows(
@"\id MAT - Test
\c 1
1 This is the 1\v 00 verse.
",
includeAllText: true,
includeMarkers: true
);
// If it gets this far, it's not throwing an exception.
}

private static TextRow[] GetRows(string usfm, bool includeMarkers = false, bool includeAllText = false)
{
UsfmMemoryText text =
Expand Down

0 comments on commit 64dc9dd

Please sign in to comment.