diff API/Exporters/XmlSaveTest.cs @ 171:14d0450f295d

* Fix file path in test case to work on Linux * Switch to using XmlUnit in binary form (because license allows it)
author IBBoard <dev@ibboard.co.uk>
date Tue, 13 Sep 2011 20:49:06 +0100
parents e29650db551f
children c026c02583ca
line wrap: on
line diff
--- a/API/Exporters/XmlSaveTest.cs	Tue Sep 13 20:29:40 2011 +0100
+++ b/API/Exporters/XmlSaveTest.cs	Tue Sep 13 20:49:06 2011 +0100
@@ -19,7 +19,7 @@
 	{
         Army mockArmy;
         string outputFile = "test_output.xml";
-        string goldFile = "testdata\\xml_output.xml";
+        string goldFile = "testdata/xml_output.xml";
 
         string xslt = "<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"><xsl:output method=\"xml\" indent=\"no\" omit-xml-declaration=\"yes\"/><xsl:template match=\"/\"><testTopLevel><armyName><xsl:value-of select=\"army/name\"/></armyName></testTopLevel></xsl:template></xsl:stylesheet>";
         string goldOutput = "<testTopLevel><armyName>Mock Army</armyName></testTopLevel>";