mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
lint
This commit is contained in:
@ -40,8 +40,10 @@ test('fails if the number of iterable items is greater than the number of expect
|
||||
test('it works with associative arrays', function () {
|
||||
expect(['foo' => 'bar', 'baz' => 'boom'])
|
||||
->sequence(
|
||||
function ($expectation, $key) { $expectation->toEqual('bar'); $key->toEqual('foo'); },
|
||||
function ($expectation, $key) { $expectation->toEqual('boom'); $key->toEqual('baz'); },
|
||||
function ($expectation, $key) { $expectation->toEqual('bar');
|
||||
$key->toEqual('foo'); },
|
||||
function ($expectation, $key) { $expectation->toEqual('boom');
|
||||
$key->toEqual('baz'); },
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user