Skip to content

Commit

Permalink
Revert "[tests] Adjust resources test to cope with the fact that only…
Browse files Browse the repository at this point in the history
… the invariant culture is currently shipping in .NET 5. (xamarin#9498)"

This reverts commit 6a1e8ac.
  • Loading branch information
spouliot committed Apr 7, 2021
1 parent 4e5f5fe commit 4741a9b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/EmbeddedResources/ResourcesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,10 @@ public void Embedded ()
Assert.AreEqual ("Welcome", manager.GetString ("String1", new CultureInfo ("en")), "en");
Assert.AreEqual ("G'day", manager.GetString ("String1", new CultureInfo ("en-AU")), "en-AU");
Assert.AreEqual ("Willkommen", manager.GetString ("String1", new CultureInfo ("de")), "de");
#if !NET // https://github.com/xamarin/xamarin-macios/issues/8906
Assert.AreEqual ("Willkommen", manager.GetString ("String1", new CultureInfo ("de-DE")), "de-DE");
#endif
Assert.AreEqual ("Bienvenido", manager.GetString ("String1", new CultureInfo ("es")), "es");
#if !NET // https://github.com/xamarin/xamarin-macios/issues/8906
Assert.AreEqual ("Bienvenido", manager.GetString ("String1", new CultureInfo ("es-AR")), "es-AR");
Assert.AreEqual ("Bienvenido", manager.GetString ("String1", new CultureInfo ("es-ES")), "es-ES");
#endif
}
}
}

0 comments on commit 4741a9b

Please sign in to comment.