Skip to content

Commit 691f58e

Browse files
j-trocermshiperete
authored andcommitted
Fix calendar test issues
1 parent e1a8372 commit 691f58e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/icu.net.tests/CalendarTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,15 +470,15 @@ public void SetTimeZoneTestLinux()
470470

471471
[Test]
472472
[Platform(Include = "win")]
473-
public void GetTilmeZoneInfoTestWin()
473+
public void GetTimeZoneInfoTestWin()
474474
{
475475
var timezone = new TimeZone("Europe/Zagreb");
476476

477477
using (var cal = new GregorianCalendar(timezone))
478478
{
479479
var result = cal.GetTimeZoneInfo();
480480

481-
Assert.IsTrue(result.Id == "Central European Standard Time");
481+
Assert.AreEqual("Central European Standard Time",result.Id);
482482
}
483483
}
484484

@@ -494,7 +494,7 @@ public void GetTimeZoneInfoTestLinux()
494494
{
495495
var result = cal.GetTimeZoneInfo();
496496

497-
Assert.IsTrue(result.Id == tzdbId);
497+
Assert.AreEqual(tzdbId, result.Id);
498498
}
499499
}
500500
}

0 commit comments

Comments
 (0)