Matcher should beNull #11

Open
mdocter opened this Issue Feb 22, 2012 · 0 comments

Projects

None yet

1 participant

@mdocter
mdocter commented Feb 22, 2012

Hi Joshua,

What would be the best way to test if something is/equals null? I can't find a beNull matcher.
Now I do something like:

 assert( ( myVal === null ) ).should( be );

Thanx in advance for your reply!

Kind regards,

Maarten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment