You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NFluent.Tests/EnumerableRelatedTests.cs
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -126,39 +126,39 @@ public void IsEmptyThrowsExceptionWhenNotEmpty()
126
126
}
127
127
128
128
[Test]
129
-
publicvoidIsEmptyOrNullWorks()
129
+
publicvoidIsNullOrEmptyWorks()
130
130
{
131
-
Check.That(EmptyEnumerable).IsEmptyOrNull();
132
-
Check.That((IEnumerable)null).IsEmptyOrNull();
131
+
Check.That(EmptyEnumerable).IsNullOrEmpty();
132
+
Check.That((IEnumerable)null).IsNullOrEmpty();
133
133
}
134
134
135
135
[Test]
136
-
[ExpectedException(typeof(FluentCheckException),ExpectedMessage="\nThe checked IEnumerable contains items, whereas it must be empty or null.\nThe checked IEnumerable:\n\t[null, null, Thomas]")]
137
-
publicvoidIsEmptyOrNullFailsAppropriately()
136
+
[ExpectedException(typeof(FluentCheckException),ExpectedMessage="\nThe checked IEnumerable contains items, whereas it must be null or empty.\nThe checked IEnumerable:\n\t[null, null, Thomas]")]
0 commit comments