public void Literal_WithEscapedCloseBraces_CollapsesDoubleBraces() { //arrange var literal = new LiteralFormat("hello}}world"); //act string result = literal.Eval(null); //assert Assert.AreEqual("hello}world", result); }
public void Literal_WithEscapedOpenBraces_CollapsesDoubleBraces() { //arrange var literal = new LiteralFormat("hello{{world"); //act var result = literal.Eval(null); //assert Assert.That(result, Is.EqualTo("hello{world")); }