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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2020-08-21 18:12:36 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2020-08-21 18:12:36 +0300
commit7c24bb0756fd39fbf09b8777f25c15d21d78eb46 (patch)
treebc5c09462036079c80d8ef23ba77f6efbd07d809
parentb9e66087d6a9d4eb3a30c80ead3b8402510dad3d (diff)
Disable failing DateTime tests
See https://github.com/mono/mono/issues/16623#issuecomment-678248447
-rw-r--r--src/System.Runtime/tests/System/DateTimeTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/System.Runtime/tests/System/DateTimeTests.cs b/src/System.Runtime/tests/System/DateTimeTests.cs
index c88d927218..65d1412ae2 100644
--- a/src/System.Runtime/tests/System/DateTimeTests.cs
+++ b/src/System.Runtime/tests/System/DateTimeTests.cs
@@ -1109,6 +1109,7 @@ namespace System.Tests
}
+#if !MONO // currently fails, see https://github.com/mono/mono/issues/16623#issuecomment-678248447
var hebrewCulture = new CultureInfo("he-IL");
hebrewCulture.DateTimeFormat.Calendar = new HebrewCalendar();
DateTime today = DateTime.Today;
@@ -1116,6 +1117,7 @@ namespace System.Tests
{
yield return new object[] { today.ToString(pattern, hebrewCulture), pattern, hebrewCulture, DateTimeStyles.None, null };
}
+#endif
}
[Theory]