Make test error message more meaningful (CXmlSerializerTest)
This commit is contained in:
1 parent
6fa653fdb8
commit
766468b4b5
1 file changed
+1
-1
@@ -502,7 +502,7 @@ namespace Tests.VocaluxeLib.XML
|
|||||||
// Typename will be uppercase but input is lowercase
|
// Typename will be uppercase but input is lowercase
|
||||||
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
|
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
|
||||||
string oldXml = File.ReadAllText(xmlPath);
|
string oldXml = File.ReadAllText(xmlPath);
|
||||||
Assert.AreEqual(oldXml, newXml, "Error with " + type.Name);
|
Assert.AreEqual(oldXml, newXml, "Recontructed XML has differences.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user