Fix unit tests

This commit is contained in:
Nikolaj Olsson 2024-02-03 18:25:49 +01:00
parent df10d9345f
commit 13cad5421a

View File

@ -1117,6 +1117,7 @@ namespace Test.Logic.Forms
target.Settings.RemoveTextBetweenCustomTags = false;
target.Settings.RemoveTextBetweenBrackets = true;
target.Settings.RemoveIfTextContains = null;
target.Settings.RemoveIfOnlyMusicSymbols = false;
const string text = "<i>♪♪[Ambient Electronic]</i>";
const string expected = "<i>♪♪</i>";
string actual = target.RemoveTextFromHearImpaired(text, _interjectionsLanguageCode);
@ -1344,6 +1345,7 @@ namespace Test.Logic.Forms
{
var target = GetRemoveTextForHiLib();
target.Settings.RemoveTextBetweenBrackets = true;
target.Settings.RemoveIfOnlyMusicSymbols = false;
const string text = "♪ <font color=\"#000000\">[LIGHT SWITCH CLICKS]</font>";
const string expected = "♪";
string actual = target.RemoveTextFromHearImpaired(text, _interjectionsLanguageCode);