From 691f58e613c544dba188833d7ba56fa701bad9ce Mon Sep 17 00:00:00 2001 From: Jakub Troc Date: Wed, 26 Feb 2020 13:29:34 +0100 Subject: [PATCH] Fix calendar test issues --- source/icu.net.tests/CalendarTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/icu.net.tests/CalendarTests.cs b/source/icu.net.tests/CalendarTests.cs index d17f52a6..86875267 100644 --- a/source/icu.net.tests/CalendarTests.cs +++ b/source/icu.net.tests/CalendarTests.cs @@ -470,7 +470,7 @@ public void SetTimeZoneTestLinux() [Test] [Platform(Include = "win")] - public void GetTilmeZoneInfoTestWin() + public void GetTimeZoneInfoTestWin() { var timezone = new TimeZone("Europe/Zagreb"); @@ -478,7 +478,7 @@ public void GetTilmeZoneInfoTestWin() { var result = cal.GetTimeZoneInfo(); - Assert.IsTrue(result.Id == "Central European Standard Time"); + Assert.AreEqual("Central European Standard Time",result.Id); } } @@ -494,7 +494,7 @@ public void GetTimeZoneInfoTestLinux() { var result = cal.GetTimeZoneInfo(); - Assert.IsTrue(result.Id == tzdbId); + Assert.AreEqual(tzdbId, result.Id); } } }