-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Framework_ConstraintTest::testConstraintIsEqual2 fails with data set #1 #1052
Comments
Looks like your
Maybe we should explicitly set the precision in the bootstrap/configuration file? |
I am using PHP's defaults as my
|
That's the only way I can think that Could something be changing your precision at runtime? Would it be possible for you to add some debugging to that test that records the output from |
The precision of that number is 17, right? Unless I'm misunderstanding the point of the
|
|
Oh, i think I found out what is going on here. Seems See: |
Does setting |
Yes, otherwise I would not have committed c1fe4b7 ;-) |
Oh, okay. I guess we can close this ticket now. Curious to see if this breaks any other libs. |
- fixes sebastianbergmann#1052 (precision errors on php 5.3-7.0)
This test fails on my machine with both PHP 5.4 and PHP 5.5 while it passes on Travis CI.
The text was updated successfully, but these errors were encountered: