Should
Should copied to clipboard
ShouldBeGreaterThan on nullable int seems broken
The assertion default(Nullable<int>).ShouldBeGreaterThan(0);
is not failing, but it should. Is this by design or a bug?
Hmm let me check for a unit test around that. The assertions are straight from xunit so we where maintaining the same behavior as them
On Monday, August 18, 2014, jstawski [email protected] wrote:
The assertion default(Nullable).ShouldBeGreaterThan(0); is not failing, but it should. Is this by design or a bug?
Reply to this email directly or view it on GitHub https://github.com/erichexter/Should/issues/6.
Eric Hexter
blog | http://Hex.LosTechies.com info | http://www.linkedin.com/in/erichexter
I think this is a bug, pull request will be accepted.
Will try to find sometime and go through the code to see if I can fix it