提交 a7d0ec44 编写于 作者: M Marek Safar

[corlib] Make test reproducible

上级 d0b002f0
......@@ -1094,7 +1094,7 @@ namespace MonoTests.System
{
foreach (var tz in TimeZoneInfo.GetSystemTimeZones ()) {
try {
for (var year = 1950; year <= DateTime.Now.Year; year++)
for (var year = 1950; year <= 2051; year++)
getChanges.Invoke (tz, new object [] {year} );
} catch (Exception e) {
Assert.Fail ("TimeZone " + tz.Id + " exception: " + e.ToString ());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册