Skip to content

Commit

Permalink
minor #45475 [Stopwatch] Fix test expectation (fancyweb)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.4 branch.

Discussion
----------

[Stopwatch] Fix test expectation

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

This test doesn't pass anymore because of sebastianbergmann/phpunit#4874 released in PHPUnit 9.5.14.

Commits
-------

11c1381 [Stopwatch] Fix test expectation
  • Loading branch information
nicolas-grekas committed Feb 18, 2022
2 parents 43820b7 + 11c1381 commit 68bba41
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -60,7 +60,8 @@ public function provideDurationValues()
yield [0.0, 0.0, false, 0];
yield [0.0, 0.0, true, 0.0];
yield [2, 3.14, false, 1];
yield [2, 3.14, true, 1.14];
yield [2, 3.14, true, 1.1400000000000001];
yield [2, 3.13, true, 1.13];
yield [2.71, 3.14, false, 1];
yield [2.71, 3.14, true, 0.43];
}
Expand Down

0 comments on commit 68bba41

Please sign in to comment.