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

Do not ignore Union argument ordering in tests #248

Merged
merged 4 commits into from
Sep 17, 2023

Conversation

dairiki
Copy link
Collaborator

@dairiki dairiki commented Sep 16, 2023

The union argument ordering is important!

What's here:

  • Revert b61cd50. That commit effectively hides failing tests by ignoring the argument order of union fields.
  • The one test that fails because of that reversion is marked an expected failure.
  • A new version of that failing test is added. The new version does ignore the union argument ordering (and so is expected to pass).

Related

The failing test fails due to #247.

This was discussed in PR #246.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
This reverts commit b61cd50.
@dairiki dairiki marked this pull request as ready for review September 16, 2023 23:49
@dairiki dairiki requested a review from lovasoa September 16, 2023 23:50
Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
@lovasoa lovasoa merged commit f315d71 into lovasoa:master Sep 17, 2023
@dairiki dairiki deleted the bug.union-ordering branch September 17, 2023 02:57
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