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

strip "constructor" info for "expected befor checking in assertObjectMatch #1419

Merged
merged 3 commits into from
Oct 18, 2021

Conversation

c0per
Copy link
Contributor

@c0per c0per commented Oct 17, 2021

I didn't change the filter function. I just call filter twice to strip constructor info off expected. #1418

@CLAassistant
Copy link

CLAassistant commented Oct 17, 2021

CLA assistant check
All committers have signed the CLA.

@kt3k
Copy link
Member

kt3k commented Oct 17, 2021

Please add the example assertions in #1418 as test cases

@kt3k
Copy link
Member

kt3k commented Oct 17, 2021

Thank you for looking into this. Left a few comments @c0per

}
assertObjectMatch({ test: new A(1) }, { test: { a: 1 } });
assertObjectMatch({ test: { a: 1 } }, { test: { a: 1 } });
assertObjectMatch({ test: { a: 1 } }, { test: new A(1) });
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

@c0per LGTM. Thank you for your contribution!

@kt3k kt3k merged commit b18ff0f into denoland:main Oct 18, 2021
traceypooh pushed a commit to traceypooh/deno_std that referenced this pull request Nov 14, 2021
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

3 participants