Example #1
0
 public void TrimEnd()
 {
     codeBuilder.Append("abc");
     codeBuilder.AppendLine();
     codeBuilder.Append("def");
     codeBuilder.AppendLine();
     codeBuilder.TrimEnd();
     Assert.AreEqual("abc\r\ndef", codeBuilder.ToString());
 }
Example #2
0
 public void AppendNewLine()
 {
     codeBuilder.AppendLine();
     Assert.AreEqual("\r\n", codeBuilder.ToString());
 }