Closed GoogleCodeExporter closed 9 years ago
New option "EncloseInRootElement" available.
[Test]
public void MyXmlTest()
{
string expected = "<a/><b/><c/>"; // Multiple root elements!
string actual = "<a/><b/><c/>";
Assert.Xml.AreEqual(expected, actual, XmlOptions.Custom.EncloseInRootElement);
}
Original comment by Yann.Tre...@gmail.com
on 28 Feb 2011 at 8:28
Original issue reported on code.google.com by
Yann.Tre...@gmail.com
on 27 Feb 2011 at 9:15