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

Unordered collections #9

Open
ligurio opened this issue Jul 6, 2022 · 0 comments
Open

Unordered collections #9

ligurio opened this issue Jul 6, 2022 · 0 comments

Comments

@ligurio
Copy link
Owner

ligurio commented Jul 6, 2022

Unordered collections: Tests can be flaky when they make assumptions about the order of elements in an unordered collection. If your test is working with a set or a JSON object, don’t make any assumptions about the order, simply check for existence of elements in the collection.

Source: https://mir.cs.illinois.edu/lamyaa/publications/fse14.pdf
See LuaJIT/LuaJIT#719

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant