Skip to content

Commit 30c151d

Browse files
committed
Output timezone when test failed
1 parent a228af6 commit 30c151d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orm/Xtensive.Orm.Tests.Sql/PostgreSql/PostgreSqlHelperTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ public void PseudoPosixOffsetRecognitionTest(string offset)
101101
public void ResolvableTimeZonesTest()
102102
{
103103
foreach (var tz in timezoneIdsWithWinAnalogue) {
104-
Assert.That(PostgreSqlHelper.GetTimeZoneInfoForServerTimeZone(tz), Is.Not.Null);
104+
Assert.That(PostgreSqlHelper.GetTimeZoneInfoForServerTimeZone(tz), Is.Not.Null, tz);
105105
}
106106
}
107107

108108
[Test]
109109
public void UnresolvableTimeZonesTest()
110110
{
111111
foreach(var tz in timezoneIdsWithoutWinAnalogue) {
112-
Assert.That(PostgreSqlHelper.GetTimeZoneInfoForServerTimeZone(tz), Is.Null);
112+
Assert.That(PostgreSqlHelper.GetTimeZoneInfoForServerTimeZone(tz), Is.Null, tz);
113113
}
114114
}
115115

0 commit comments

Comments
 (0)