mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Fixed a few minor issues in "Remove text for HI" - thx sialivi
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@297 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
2057e1d341
commit
4a37fe139c
@ -77,5 +77,20 @@ namespace Test
|
||||
string actual = target.RemoveColon(text);
|
||||
Assert.AreEqual(expected, actual);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///A test for RemoveHIInsideLine
|
||||
///</summary>
|
||||
[TestMethod()]
|
||||
[DeploymentItem("SubtitleEdit.exe")]
|
||||
public void RemoveHIInsideLine()
|
||||
{
|
||||
FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor(); // TODO: Initialize to an appropriate value
|
||||
string text = "Be quiet. (SHUSHING) It's okay.";
|
||||
string expected = "Be quiet. It's okay.";
|
||||
string actual = target.RemoveHearImpairedtagsInsideLine(text);
|
||||
Assert.AreEqual(expected, actual);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user