public void IndentPassedToConstructor() { codeBuilder = new RubyCodeBuilder(2); codeBuilder.AppendIndented("abc"); Assert.AreEqual("\t\tabc", codeBuilder.ToString()); }
public void AppendIndentedText() { codeBuilder.IncreaseIndent(); codeBuilder.AppendIndented("abc"); Assert.AreEqual("\tabc", codeBuilder.ToString()); }