Skip to content

Conversation

@dennisdoomen
Copy link
Member

@dennisdoomen dennisdoomen commented Nov 11, 2024

When the equivalency validation engine detects a cyclic reference, it excludes the node from further comparisons. But if the expectation is non-null and the subject is null (or vice versa), it should still trigger an assertion failure.

Fixes #2787

@dennisdoomen dennisdoomen force-pushed the fix/2787-cyclic-references branch from b7cd6d9 to aa1725d Compare November 11, 2024 20:08
@dennisdoomen dennisdoomen marked this pull request as ready for review November 11, 2024 20:09
@coveralls
Copy link

coveralls commented Nov 11, 2024

Pull Request Test Coverage Report for Build 11796559494

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 97.293%

Totals Coverage Status
Change from base Build 11758086559: 0.002%
Covered Lines: 12971
Relevant Lines: 13214

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Nov 11, 2024

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@dennisdoomen dennisdoomen force-pushed the fix/2787-cyclic-references branch from 4aa6edb to ca7c8f6 Compare November 11, 2024 20:42
@dennisdoomen dennisdoomen force-pushed the fix/2787-cyclic-references branch from ca7c8f6 to 52b2c84 Compare November 12, 2024 10:56
…ed to the subject node using simple equality.
@dennisdoomen dennisdoomen force-pushed the fix/2787-cyclic-references branch from 52b2c84 to f5eb95e Compare November 12, 2024 11:43
@dennisdoomen dennisdoomen requested a review from jnyrup November 12, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BeEquivalentTo with IgnoringCyclicReferences does not detect that actual model does not have cyclic reference.

3 participants