Skip to content

Commit

Permalink
Fix calendar test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
j-troc authored and ermshiperete committed Sep 14, 2022
1 parent e1a8372 commit 691f58e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/icu.net.tests/CalendarTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -470,15 +470,15 @@ public void SetTimeZoneTestLinux()

[Test]
[Platform(Include = "win")]
public void GetTilmeZoneInfoTestWin()
public void GetTimeZoneInfoTestWin()
{
var timezone = new TimeZone("Europe/Zagreb");

using (var cal = new GregorianCalendar(timezone))
{
var result = cal.GetTimeZoneInfo();

Assert.IsTrue(result.Id == "Central European Standard Time");
Assert.AreEqual("Central European Standard Time",result.Id);
}
}

Expand All @@ -494,7 +494,7 @@ public void GetTimeZoneInfoTestLinux()
{
var result = cal.GetTimeZoneInfo();

Assert.IsTrue(result.Id == tzdbId);
Assert.AreEqual(tzdbId, result.Id);
}
}
}
Expand Down

0 comments on commit 691f58e

Please sign in to comment.