Skip to content

Commit

Permalink
added cleanup for some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stdstring committed Mar 3, 2024
1 parent 2224e9a commit 1fce19d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Examples/ApiExamples/ApiExamples/ExHyphenation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ public void RegisterDictionary()
Assert.AreEqual(WarningSource.Layout, warningInfoCollection[0].Source);
Assert.AreEqual("Hyphenation dictionary contains duplicate patterns. The only first found pattern will be used. " +
"Content can be wrapped differently.", warningInfoCollection[0].Description);

Hyphenation.WarningCallback = null; //ExSkip
Hyphenation.UnregisterDictionary("en-US"); //ExSkip
Hyphenation.Callback = null; //ExSkip
}

/// <summary>
Expand Down

0 comments on commit 1fce19d

Please sign in to comment.