File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -470,15 +470,15 @@ public void SetTimeZoneTestLinux()
470
470
471
471
[ Test ]
472
472
[ Platform ( Include = "win" ) ]
473
- public void GetTilmeZoneInfoTestWin ( )
473
+ public void GetTimeZoneInfoTestWin ( )
474
474
{
475
475
var timezone = new TimeZone ( "Europe/Zagreb" ) ;
476
476
477
477
using ( var cal = new GregorianCalendar ( timezone ) )
478
478
{
479
479
var result = cal . GetTimeZoneInfo ( ) ;
480
480
481
- Assert . IsTrue ( result . Id == "Central European Standard Time" ) ;
481
+ Assert . AreEqual ( "Central European Standard Time" , result . Id ) ;
482
482
}
483
483
}
484
484
@@ -494,7 +494,7 @@ public void GetTimeZoneInfoTestLinux()
494
494
{
495
495
var result = cal . GetTimeZoneInfo ( ) ;
496
496
497
- Assert . IsTrue ( result . Id == tzdbId ) ;
497
+ Assert . AreEqual ( tzdbId , result . Id ) ;
498
498
}
499
499
}
500
500
}
You can’t perform that action at this time.
0 commit comments