public void AddsTextAfterDocType() { Assert.AreEqual("<!doctype stuff>" + Environment.NewLine + "newtextexistingtext", HtmlDecorator.AddToStart("newtext", "<!doctype stuff>existingtext")); }
public void AddsTextAfterDocType() { Assert.AreEqual("<!doctype stuff>\r\nnewtextexistingtext", HtmlDecorator.AddToStart("newtext", "<!doctype stuff>existingtext")); }
public void AddsTextToStart() { Assert.AreEqual("newtext" + Environment.NewLine + "existingtext", HtmlDecorator.AddToStart("newtext", "existingtext")); }
public void AddsTextToStart() { Assert.AreEqual("newtext\r\nexistingtext", HtmlDecorator.AddToStart("newtext", "existingtext")); }