Skip to content

Commit

Permalink
ICU4N.Dev.Test.Collate.CollationServiceTest::TestRegister(): Ignore t…
Browse files Browse the repository at this point in the history
…est failures on Linux until #37 can be resolved
  • Loading branch information
NightOwl888 committed Oct 24, 2021
1 parent e8448f1 commit bc855b1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Globalization;
using System.Linq;
using System.Resources;
using System.Runtime.InteropServices;

namespace ICU4N.Dev.Test.Collate
{
Expand All @@ -16,6 +17,10 @@ public class CollationServiceTest : TestFmwk
[Test]
public void TestRegister()
{
#if NET5_0_OR_GREATER
Assume.That(!RuntimeInformation.IsOSPlatform(OSPlatform.Linux), "ICU4N TODO: Fails on Ubuntu 18.04 and Ubuntu 20.04 on .NET 5 and higher. See: https://github.com/NightOwl888/ICU4N/issues/37");
#endif

// register a singleton
Collator frcol = Collator.GetInstance(new UCultureInfo("fr_FR"));
Collator uscol = Collator.GetInstance(new UCultureInfo("en_US"));
Expand Down

0 comments on commit bc855b1

Please sign in to comment.