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

Set comparison with eql is wrong #143

Open
robbie-c opened this issue Oct 21, 2015 · 2 comments
Open

Set comparison with eql is wrong #143

robbie-c opened this issue Oct 21, 2015 · 2 comments

Comments

@robbie-c
Copy link

expect(new Set([1])).not.to.be.eql(new Set([2])); // fails

You get the following output:
Error: expected {} to sort of not equal {}
Expected :{}
Actual :{}

I can work on a PR for this.

@robbie-c
Copy link
Author

Create PR #144

@EvanHahn
Copy link

I forked this project and created expecting.js. It has support for Sets, if you're interested.

Hope this can help!

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