BugGuardian.Tests.Extensions.StringExtensionsTests.NormalizeForHtmlLongTest C# (CSharp) Method

NormalizeForHtmlLongTest() private method

private NormalizeForHtmlLongTest ( ) : void
return void
        public void NormalizeForHtmlLongTest()
        {
            var testString = $"first{Environment.NewLine}second.. third bla bla? \\ {Environment.NewLine} are you sure?";
            var expected = "first<br />second.. third bla bla? \\ <br /> are you sure?";

            Assert.AreEqual(expected, testString.NormalizeForHtml());
        }