specit icon indicating copy to clipboard operation
specit copied to clipboard

Matcher should beNull

Open mdocter opened this issue 13 years ago • 0 comments

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

mdocter avatar Feb 22 '12 16:02 mdocter