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

Improve float comparison precision in tests #2560

Merged

Conversation

rgson
Copy link
Contributor

@rgson rgson commented Mar 9, 2022

PHPUnit 9.5.14 increased the precision of float comparisons from
0.0000000001 to PHP_FLOAT_EPSILON, causing some tests to fail.

PHPUnit 9.5.14 increased the precision of float comparisons from
0.0000000001 to PHP_FLOAT_EPSILON, causing some tests to fail.
@kylekatarnls kylekatarnls merged commit 82ff75d into briannesbitt:master Mar 9, 2022
@kylekatarnls
Copy link
Collaborator

Thanks 🙏

@kylekatarnls kylekatarnls added this to the 2.58.0 milestone Mar 10, 2022
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.

2 participants