public void RemoveDownloadLinks_PostWithDownloadLinks_LinksRemoved() { string postText = "<li><i class=\"fa fa-download\">test</i>test2</li>test3"; var result = HtmlCleaner.RemoveDownloadLinks(postText); Assert.Equal("<li>test3", result); }
public void RemoveDownloadLinks_PostWithDownloadLinks_LinksRemoved() { string postText = "<li><i class=\"fa fa-download\">test</i>test2</li>test3"; var result = HtmlCleaner.RemoveDownloadLinks(postText); Assert.Equal("<li>test3", result); }