diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-28 04:23:38 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-28 04:25:55 +0300 |
commit | d61e7aca9a4c858c30d6512a7dc8a86f307683a7 (patch) | |
tree | 0d3fab9c006247feda1b6e1633b895bc0f6e43a1 /mcs/class/System.Runtime.Serialization | |
parent | 9bee02a3ff15045afbbd8a2f9d96830acb82d7e4 (diff) |
[bcl] Update tests that failed when .cs file contained CRLF
Most of them used multiline C# string literals which
means they contained the line ending character of the file.
Updated to make the tests resilient to having CRLF instead of LF.
Some of the mcs tests used a checksum to compare files,
ensured those are checked out using LF.
Diffstat (limited to 'mcs/class/System.Runtime.Serialization')
-rw-r--r-- | mcs/class/System.Runtime.Serialization/Test/System.Xml/XmlMtomDictionaryWriterTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Runtime.Serialization/Test/System.Xml/XmlMtomDictionaryWriterTest.cs b/mcs/class/System.Runtime.Serialization/Test/System.Xml/XmlMtomDictionaryWriterTest.cs index 31ca0721bbc..3530523da2f 100644 --- a/mcs/class/System.Runtime.Serialization/Test/System.Xml/XmlMtomDictionaryWriterTest.cs +++ b/mcs/class/System.Runtime.Serialization/Test/System.Xml/XmlMtomDictionaryWriterTest.cs @@ -82,7 +82,7 @@ Content-Type: application/xop+xml;charset=utf-8;type=""sTaRt"" 
XXX 666</foo></root> --myboundary-- -<root/><root/><root/>".Replace ("\n", "\r\n").Replace ("XXX\r\n", "\n"); +<root/><root/><root/>".Replace ("\r\n", "\n").Replace ("\n", "\r\n").Replace ("XXX\r\n", "\n"); } class MyStreamProvider : IStreamProvider |