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

✅ Fix isCorrect check on double #4665

Merged
merged 3 commits into from
Jan 29, 2024
Merged

✅ Fix isCorrect check on double #4665

merged 3 commits into from
Jan 29, 2024

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jan 29, 2024

The check has been used for a while in the tests of double. Unfortunately it poorly behave with -0/+0.

We just make it even more stable by fixing this subtle special case.

Fixes #4564

Category:

  • ✨ Introduce new features
  • 📝 Add or update documentation
  • ✅ Add or update tests
  • 🐛 Fix a bug
  • 🏷️ Add or update types
  • ⚡️ Improve performance
  • Other(s): ...

Potential impacts:

  • Generated values
  • Shrink values
  • Performance
  • Typings
  • Other(s): ...

The check has been used for a while in the tests of double. Unfortunately it poorly behave with -0/+0.

We just make it even more stable by fixing this subtle special case.

Fixes #4564
Copy link

codesandbox-ci bot commented Jan 29, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5b720d3:

Sandbox Source
@fast-check/examples Configuration

@dubzzz dubzzz enabled auto-merge (squash) January 29, 2024 21:32
Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8106a77) 93.57% compared to head (5b720d3) 93.57%.
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4665   +/-   ##
=======================================
  Coverage   93.57%   93.57%           
=======================================
  Files         207      207           
  Lines        5011     5011           
  Branches     1367     1367           
=======================================
  Hits         4689     4689           
  Misses        322      322           
Flag Coverage Δ
unit-tests 93.57% <ø> (ø)
unit-tests-18.x-Linux 93.57% <ø> (ø)
unit-tests-20.x-Linux 93.57% <ø> (ø)
unit-tests-latest-Linux 93.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dubzzz dubzzz merged commit bacfd07 into main Jan 29, 2024
54 of 69 checks passed
@dubzzz dubzzz deleted the fix-ci-double-issue branch January 29, 2024 22:01
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.

Investigate flaky run on double in CI
1 participant