Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Created Issue: Add BeNull() for nullable types [12440]

$
0
0
I just added an assertion for a int? field. I expected a Should().BeNull() extension method but it is not there. Writing actual.SomeValue.Should().Be(null); seems wrong compared to all the other nice extension methods.

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>