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

deepStrictEqual #17

Closed

Conversation

calvinmetcalf
Copy link
Collaborator

this adds assert.deepStrictEqual which does exactly what you'd think it would do

@defunctzombie
Copy link
Contributor

Is this part of the upstream node assert module?

@calvinmetcalf
Copy link
Collaborator Author

yes, would it make more sense to just bring in the current assert module ?

@calvinmetcalf
Copy link
Collaborator Author

ok rebased it based on current node, from what I can tell some of the things changed, e.g. the message formatting, I will comment on the changes individually

});
});

test('assert - Make sure deepEqual doesn\'t loop forever on circular refs', function () {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test I modified because instead of throwing an error it was just terminating early with the correct answer, seemed like an even more desirable property

@defunctzombie
Copy link
Contributor

Can we remove the commented out tests? Or should they be fixed?

@calvinmetcalf
Copy link
Collaborator Author

removed, we also should probably make the running of the node version of
the test optional or based on a flag as it will fail in older nodes (due to
the api changing)

On Mon, May 9, 2016 at 10:14 PM Roman Shtylman notifications@github.com
wrote:

Can we remove the commented out tests? Or should they be fixed?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#17 (comment)

@calvinmetcalf
Copy link
Collaborator Author

@defunctzombie ok should be fixed, it's still failing because I can't run the saucelabs tests from my repo, should pass if you fork it to your own repo and rerun it

@calvinmetcalf
Copy link
Collaborator Author

closing in favor of #18

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

Successfully merging this pull request may close these issues.

None yet

2 participants