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

expect(null).to.eql(undefined) #136

Open
ghost opened this issue May 25, 2015 · 1 comment
Open

expect(null).to.eql(undefined) #136

ghost opened this issue May 25, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented May 25, 2015

As eql is loose equality, where 1 eql '1', shouldn't also null and undefined be loosely equal?

@EvanHahn
Copy link

That's what I assumed, too—seems a bit odd.

I made a fork called expecting.js which should fix this problem, if you're interested.

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

1 participant