Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2015-02-02 12:58:09 +0300
committerAtsushi Eno <atsushieno@gmail.com>2015-03-02 06:36:41 +0300
commit8d2cf588c9fdfe108227c532b87ce761e48736c6 (patch)
tree35bea1dbb9b479a296f7777a147256870568b431 /mcs/class/System.Xaml
parent6d3edb66437ec53407fd4a8d08d45413beb941cd (diff)
[Xaml] fix EOL handling in tests. referencesource emits LF.
Diffstat (limited to 'mcs/class/System.Xaml')
-rwxr-xr-xmcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
index 11f58acb2e2..d57ae5af27a 100755
--- a/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
+++ b/mcs/class/System.Xaml/Test/System.Xaml/XamlXmlWriterTest.cs
@@ -641,7 +641,7 @@ namespace MonoTests.System.Xaml
#else
string ver = "net_4_0";
#endif
- return File.ReadAllText ("Test/XmlFiles/" + name).Trim ().Replace (">\n", ">\r\n").Replace ("net_4_0", ver);
+ return File.ReadAllText ("Test/XmlFiles/" + name).Trim ().Replace (">\n", ">\r\n").Replace ("net_4_0", ver).Replace ("\r\n", Environment.NewLine);
}
[Test]