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
[ExpectedException(typeof(FluentCheckException),ExpectedMessage="\nThe checked nullable value must be null.\nThe checked value:\n\t[NFluent.Tests.Extensions.Mood]")]
86
+
publicvoidNotIsNotNullThrowsWithNonNullNullable()
87
+
{
88
+
Mood?goodMood=newMood();
89
+
Check.That(goodMood).Not.IsNotNull();
90
+
}
91
+
92
+
[Test]
93
+
[ExpectedException(typeof(FluentCheckException),ExpectedMessage="\nThe checked nullable value is null whereas it must not.")]
Copy file name to clipboardExpand all lines: ReleaseNoteContentToBeInsertedWithinNuspecFile.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
New feature(s):
2
+
* Now supports IsNull() and IsNotNull() checks for nullables (thanks to Mendel Monteiro Beckerman for that).
2
3
* Check.ThatCode(...): New entry point for checks on code (Action and Func<T>). It supersedes the equivalent Check.That signature.
3
4
4
5
--------------
@@ -8,7 +9,7 @@ Change(s):
8
9
* The HasFieldsEqualToThose() check is now obsolete and should be replaced by HasFieldsWithSameValues() which now support anonymous classes as expected parameter.
9
10
* The HasFieldsNotEqualToThose() check is now obsolete and should be replaced by HasNotFieldsWithSameValues()
10
11
* Simplification of extensibility
11
-
* NFluent package is now signed
12
+
* We are so proud of this 1.1 version of NFuent; we decided to sign it.
0 commit comments