mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
finishing the code
This commit is contained in:
@ -239,7 +239,7 @@ final class Expectation
|
||||
$index = isset($callbacks[$index + 1]) ? $index + 1 : 0;
|
||||
}
|
||||
|
||||
if (count($callbacks) > $valuesCount) {
|
||||
if ($valuesCount < count($callbacks)) {
|
||||
throw new OutOfRangeException('Sequence expectations are more than the iterable items.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user