Make Excerpt test more accurate

This commit is contained in:
Thierry Fleury
2015-11-19 09:29:35 +01:00
parent 062a786f61
commit 411e04b56a

View File

@@ -217,7 +217,7 @@ namespace Orchard.Tests.Mvc.Html {
var html = new HtmlHelper(viewContext, viewDataContainer.Object);
//act
var result = html.Excerpt("<p>foo &amp; bar</p>", 5);
var result = html.Excerpt("<p>foo &amp; bar</p>", 7);
//assert
Assert.AreEqual("foo &amp;&#160;\u2026", result.ToString());