From 1fce19d7d94ba716aa3e57d6d6edbebfdad3f128 Mon Sep 17 00:00:00 2001 From: stdstring Date: Sun, 3 Mar 2024 22:27:21 +0500 Subject: [PATCH] added cleanup for some tests --- Examples/ApiExamples/ApiExamples/ExHyphenation.cs | 4 ++++ 1 file changed, 4 insertions(+) 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 } ///