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

test: add known-issue test for issue 14441 #14488

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Jul 25, 2017

Refs: #14441

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test assert

@Trott Trott added assert Issues and PRs related to the assert subsystem. test Issues and PRs related to the tests. labels Jul 25, 2017
b.add(b);
c.add(a);
assert.deepEqual(c, b); // eslint-disable-line no-restricted-properties
assert.deepEqual(b, c); // eslint-disable-line no-restricted-properties
Copy link
Member

Choose a reason for hiding this comment

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

Hm. It’s not totally obvious to me that the correct behaviour is to not throw in both cases, to me the issues seems to be more that deepEqual doesn’t behave symmetrically here…

Copy link
Member

Choose a reason for hiding this comment

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

It is a set that has a single entry: a set that has a set as only entry that is circular. And that should be the same as a set that has itself as single entry.

I already have the fix for the issue but I am still in the office and I will open a PR with the fix for these later on.

@BridgeAR
Copy link
Member

I opened a fix (#14491), so I guess this is not needed as intermediate step anymore.

@Trott
Copy link
Member Author

Trott commented Aug 1, 2017

Closing in favor of #14491

@Trott Trott closed this Aug 1, 2017
@Trott Trott deleted the deep-equal-issues branch January 13, 2022 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assert Issues and PRs related to the assert subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants