We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba11797 + 51f0b85 commit 714b290Copy full SHA for 714b290
src/FluentNHibernate/Testing/Values/Property.cs
@@ -87,7 +87,7 @@ private string GetInequalityComparisonMessage(object actual)
87
{
88
string message;
89
90
- string actualToPrint = actual.ToString();
+ string actualToPrint = actual != null ? actual.ToString() : "(null)";
91
string actualTypeToPrint = PropertyAccessor.PropertyType.FullName;
92
93
string valueToPrint = Value != null ? Value.ToString() : "(null)";
0 commit comments