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

Sort keys in format_bindings/1 #499

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Sort keys in format_bindings/1 #499

merged 1 commit into from
Feb 15, 2024

Conversation

voughtdq
Copy link
Contributor

📖 Description

Tests were failing when the left side's key order differed from the right side's. Explicitly ordering the keys makes the test less flaky.

📝 Notes

Added a doctest to test the ordering.

📓 References

N/A

🦀 Dispatch

  • #dispatch/elixir

Tests were failing because the left side's key order differed from the
right side's. Using Erlang term ordering, we can ensure consistent results.
@mirego-builds
Copy link

🦀 Requesting reviewers for this pull request:

  • @Boubalou (contributor with 0 commits in the last 90 days and 11 commits overall)
  • @kevincote (reviewer for the elixir stack)

Copy link
Member

@remi remi left a comment

Choose a reason for hiding this comment

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

Good catch! 👌

@remi remi merged commit 5e56e7a into mirego:main Feb 15, 2024
1 check passed
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.

3 participants