We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This assertion should not fail:
$this->assertCount(0, new \EmptyIterator());
But it fails with an error:
1) Example::testEmptyIterator BadMethodCallException: Accessing the key of an EmptyIterator
On the other hand this assertion works without a hitch:
$this->assertSame(0, iterator_count(new \EmptyIterator()));
These seems to be the problematic lines:
phpunit/src/Framework/Constraint/Count.php
Lines 71 to 84 in 6efdf39
A Travis CI build with this failure.
The text was updated successfully, but these errors were encountered:
9faa89f
No branches or pull requests
This assertion should not fail:
But it fails with an error:
On the other hand this assertion works without a hitch:
These seems to be the problematic lines:
phpunit/src/Framework/Constraint/Count.php
Lines 71 to 84 in 6efdf39
A Travis CI build with this failure.
The text was updated successfully, but these errors were encountered: