Author: arina
Date: 2008-02-11 11:10:56 -0500 (Mon, 11 Feb 2008)
New Revision: 95445

Modified:
   
branches/mainsoft/gh2.2/mcs/class/System.XML/Test/System.Xml.XPath/XPathNavigatorCommonTests.cs
Log:
Fix tests: end of line is "\r\n" when it runs on Windows.

Modified: 
branches/mainsoft/gh2.2/mcs/class/System.XML/Test/System.Xml.XPath/XPathNavigatorCommonTests.cs
===================================================================
--- 
branches/mainsoft/gh2.2/mcs/class/System.XML/Test/System.Xml.XPath/XPathNavigatorCommonTests.cs
     2008-02-11 15:55:05 UTC (rev 95444)
+++ 
branches/mainsoft/gh2.2/mcs/class/System.XML/Test/System.Xml.XPath/XPathNavigatorCommonTests.cs
     2008-02-11 16:10:56 UTC (rev 95445)
@@ -449,7 +449,7 @@
                        string ret = @"<one>
   <two>Some data.</two>
 </one>";
-                       AssertEquals (ret, nav.OuterXml.Replace ("\r\n", "\n"));
+                       AssertEquals (ret.Replace ("\r\n", "\n"), 
nav.OuterXml.Replace ("\r\n", "\n"));
                }
 #endif
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to