public void bug_not_well_formed_usd() { var p = new BxlXmlParser(); var x = p.Parse("col \"vUSD\", \"$\"","main"); Assert.AreEqual(@"<root><col _file=""main"" _line=""1"" code=""vUSD"" id=""vUSD"" name=""$"" /></root>", x.ToString(SaveOptions.DisableFormatting)); }
public void keep_single_usd_test() { var p = new BxlXmlParser(); var x = p.Parse("c x='$' : '${z}'","main"); Assert.AreEqual(@"<root><c _file=""main"" _line=""1"" x=""$"">${z}</c></root>", x.ToString(SaveOptions.DisableFormatting)); }