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); } } }