diff --git a/tests/SIL.Machine.Tests/Corpora/ParallelTextCorpusTests.cs b/tests/SIL.Machine.Tests/Corpora/ParallelTextCorpusTests.cs index c9f77940..d4c0ab07 100644 --- a/tests/SIL.Machine.Tests/Corpora/ParallelTextCorpusTests.cs +++ b/tests/SIL.Machine.Tests/Corpora/ParallelTextCorpusTests.cs @@ -1548,11 +1548,11 @@ public void GetRows_MultipleRowsPerBookWithMismatches() foreach (var row in rows) { var bookId = row.TextId; - var expectedRef = ScriptureRef.Parse($"{bookId} 1:1", versification = ScrVers.Original); + var expectedRef = ScriptureRef.Parse($"{bookId} 1:1"); Assert.That(row.SourceRefs.First, Is.InstanceOf()); Assert.That(expectedRef, Is.InstanceOf()); - Assert.That(row.SourceRefs.First, Is.EqualTo(expectedRef)); // Only row 1:1 is valid - Assert.That(row.TargetRefs, Is.EqualTo(new[] { expectedRef })); + Assert.That(expectedRef.CompareTo(row.SourceRefs[0]), Is.EqualTo(0)); // Only row 1:1 is valid + Assert.That(expectedRef.CompareTo(row.TargetRefs[0]), Is.EqualTo(0)); // Only row 1:1 is valid Assert.That(row.SourceSegment, Is.EqualTo(new[] { "source", "segment", "1", "for", bookId + "." })); Assert.That(row.TargetSegment, Is.EqualTo(new[] { "target", "segment", "1", "for", bookId + "." })); Assert.That(row.AlignedWordPairs, Is.EquivalentTo(new[] { new AlignedWordPair(0, 0) }));