Skip to content

Commit 88e13e7

Browse files
David EllingsworthDavid Ellingsworth
authored andcommitted
GH-3530: Add a meaningful message when TestDouble fails.
1 parent 7654e6a commit 88e13e7

File tree

1 file changed

+1
-1
lines changed
  • src/NHibernate.Test/NHSpecificTest/GH3530

1 file changed

+1
-1
lines changed

src/NHibernate.Test/NHSpecificTest/GH3530/Fixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void TestDouble(CultureInfo from, CultureInfo to)
189189
{
190190
var entity = session.Get<LocaleEntity>(id);
191191

192-
Assert.True(Math.Abs(doubleValue - entity.DoubleValue) < double.Epsilon);
192+
Assert.True(Math.Abs(doubleValue - entity.DoubleValue) < double.Epsilon, $"Expected: {doubleValue}\nBut was: {entity.DoubleValue}\n");
193193
}
194194
}
195195

0 commit comments

Comments
 (0)