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:
authorVlad Brezae <brezaevlad@gmail.com>2018-11-28 18:19:08 +0300
committerLudovic Henry <luhenry@microsoft.com>2018-11-28 18:19:08 +0300
commit53672c5f4ceb4e373270804ab782178c7d51a1bd (patch)
tree6942b74ad778eda2371fc4aaba3d8f7df5fc8606 /mcs/class/System.XML
parentbcf63dcb9a4e8188e307f2066152f5965179cfd2 (diff)
[interp] Enable System.Xml tests (#11791)
* [tests] Change timezone so it doesn't fail on UTC+2 systems Change to remote UTC-1 * [interp] Enable System.XML tests
Diffstat (limited to 'mcs/class/System.XML')
-rw-r--r--mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs b/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs
index 3b188b7cfbe..4d60b55f5ce 100644
--- a/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs
+++ b/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs
@@ -966,7 +966,7 @@ namespace MonoTests.System.Xml
public void XmlDateTimeSerializationModeUnspecified ()
{
Assert.AreEqual (27, XmlConvert.ToString (new DateTime (DateTime.MaxValue.Ticks, DateTimeKind.Utc), XmlDateTimeSerializationMode.Unspecified).Length, "#1");
- DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000+02:00", XmlDateTimeSerializationMode.Unspecified);
+ DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000-01:00", XmlDateTimeSerializationMode.Unspecified);
DateTime dt2 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000", XmlDateTimeSerializationMode.Unspecified);
Assert.AreEqual (false, dt1 == dt2, "#2");
XmlConvert.ToDateTime ("2006-05-30T09:48:32.0Z", XmlDateTimeSerializationMode.Unspecified);