[Sys.Data] Fix tests regarding XmlTextWriter EOL handling.
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 19 Jan 2015 12:13:01 +0000 (21:13 +0900)
committerAtsushi Eno <atsushieno@gmail.com>
Mon, 2 Mar 2015 03:36:39 +0000 (11:36 +0800)
commit81e07b6e1a83b2cdbc5cfc2a348421a709d68c1e
tree4778d85b8dc167e7e6f3f8a9d1899ab61aa4e5d2
parentff9d202cebd52e5b570891ba35ed647f79d84dbb
[Sys.Data] Fix tests regarding XmlTextWriter EOL handling.

MS referencesource changed XmlTextWriter behavior regarding EOL so that
now it preserves CRLF as is, instead of replacing them with
XmlWriterSettings.NewLineChars (mono implementation behavior).

There are some tests that depend on old behavior. The entire points of
those XmlDataDocument tests are not about checking EOLs, so just replace
the test XML file to not contain CRLF.
mcs/class/System.Data/Test/System.Xml/XmlDataDocumentTest.cs
mcs/class/System.Data/Test/System.Xml/region.xml