public void ShouldStripMixedCrLfFromString() { const string TestString = "Line1\r\nLine2\nLine3\r\n"; TestString.StripNewLines().ShouldBe("Line1Line2Line3"); }
public void ShouldStripLfFromString() { const string TestString = "Line1\nLine2\n"; TestString.StripNewLines().ShouldBe("Line1Line2"); }