Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShouldBeGreaterThan on nullable int seems broken #6

Open
jstawski opened this issue Aug 18, 2014 · 3 comments
Open

ShouldBeGreaterThan on nullable int seems broken #6

jstawski opened this issue Aug 18, 2014 · 3 comments

Comments

@jstawski
Copy link

The assertion default(Nullable<int>).ShouldBeGreaterThan(0); is not failing, but it should. Is this by design or a bug?

@erichexter
Copy link
Owner

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
#6.

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

@erichexter
Copy link
Owner

I think this is a bug, pull request will be accepted.

@jstawski
Copy link
Author

jstawski commented May 1, 2015

Will try to find sometime and go through the code to see if I can fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants