fix tests

This commit is contained in:
kaso17 2018-02-28 16:42:35 +01:00
parent ec75dedc57
commit f9888d7ffb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ namespace Jackett.Test.Util
{
var invalidRss = InvalidRssXml;
Action parseAction = () => XDocument.Parse(invalidRss);
parseAction.ShouldThrow<Exception>().WithMessage("'\a', hexadecimal value 0x07, is an invalid character. Line 12, position 7.");
parseAction.Should().Throw<Exception>().WithMessage("'\a', hexadecimal value 0x07, is an invalid character. Line 12, position 7.");
var validRSs = ParseUtil.RemoveInvalidXmlChars(invalidRss);
var rssDoc = XDocument.Parse(validRSs);