diff --git a/Examples/ApiExamples/ApiExamples/ExHyphenation.cs b/Examples/ApiExamples/ApiExamples/ExHyphenation.cs index b3e26e3e..5e5c3a78 100644 --- a/Examples/ApiExamples/ApiExamples/ExHyphenation.cs +++ b/Examples/ApiExamples/ApiExamples/ExHyphenation.cs @@ -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 } ///