diff --git a/ICD.Common.Utils.Tests/Xml/XmlUtilsTest.cs b/ICD.Common.Utils.Tests/Xml/XmlUtilsTest.cs index 3653c1c..a60b6bb 100644 --- a/ICD.Common.Utils.Tests/Xml/XmlUtilsTest.cs +++ b/ICD.Common.Utils.Tests/Xml/XmlUtilsTest.cs @@ -160,5 +160,17 @@ namespace ICD.Common.Utils.Tests.Xml Assert.IsFalse(XmlUtils.IsValidXml(@"")); Assert.IsTrue(XmlUtils.IsValidXml(EXAMPLE_XML)); } + + [Test] + public void FormatTest() + { + const string xml = ""; + const string expected = @" + + +"; + + Assert.AreEqual(expected, XmlUtils.Format(xml)); + } } } \ No newline at end of file