Skip to content

Commit

Permalink
Use new class in manual tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Aug 1, 2024
1 parent d2eddcd commit f52fc93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/SIL.Machine.Tests/Corpora/UsfmManualTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ await Task.WhenAll(
}
foreach (string usfm in sfmTexts)
{
var updater = new UsfmTextUpdater(pretranslations, stripAllText: true, preferExistingText: true);
var updater = new UpdateUsfmParserHandler(
pretranslations,
stripAllText: true,
preferExistingText: true
);
UsfmParser.Parse(usfm, updater, settings.Stylesheet, settings.Versification);
string newUsfm = updater.GetUsfm(settings.Stylesheet);
Assert.That(newUsfm, Is.Not.Null);
Expand Down

0 comments on commit f52fc93

Please sign in to comment.