chore: bumps dependencies

This commit is contained in:
Nuno Maduro
2023-04-19 09:49:26 +01:00
parent 5c0df87f52
commit 1a05df14d0
3 changed files with 21 additions and 21 deletions

View File

@ -22,7 +22,7 @@
"nunomaduro/collision": "^7.5.0", "nunomaduro/collision": "^7.5.0",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1",
"pestphp/pest-plugin": "^2.0.1", "pestphp/pest-plugin": "^2.0.1",
"pestphp/pest-plugin-arch": "^2.1.1", "pestphp/pest-plugin-arch": "^2.1.2",
"phpunit/phpunit": "^10.1.1" "phpunit/phpunit": "^10.1.1"
}, },
"conflict": { "conflict": {

View File

@ -85,16 +85,16 @@ it('works with higher order tests')
it('can use the scoped method to lock into the given level for expectations', function () { it('can use the scoped method to lock into the given level for expectations', function () {
expect(new HasMethods()) expect(new HasMethods())
->attributes()->scoped(fn ($attributes) => $attributes ->attributes()->scoped(fn ($attributes) => $attributes
->name->toBe('Has Methods') ->name->toBe('Has Methods')
->quantity->toBe(20) ->quantity->toBe(20)
) )
->name()->toBeString()->toBe('Has Methods') ->name()->toBeString()->toBe('Has Methods')
->newInstance()->newInstance()->scoped(fn ($instance) => $instance ->newInstance()->newInstance()->scoped(fn ($instance) => $instance
->name()->toBe('Has Methods') ->name()->toBe('Has Methods')
->quantity()->toBe(20) ->quantity()->toBe(20)
->attributes()->scoped(fn ($attributes) => $attributes ->attributes()->scoped(fn ($attributes) => $attributes
->name->toBe('Has Methods') ->name->toBe('Has Methods')
->quantity->toBe(20) ->quantity->toBe(20)
) )
); );
}); });

View File

@ -171,19 +171,19 @@ test('pipe works with negated expectation', function () use ($state) {
$state->reset(); $state->reset();
expect($char)->not->toBe(new Char('B')) expect($char)->not->toBe(new Char('B'))
->and($state) ->and($state)
->runCount->toMatchArray([ ->runCount->toMatchArray([
'char' => 1, 'char' => 1,
'number' => 0, 'number' => 0,
'wildcard' => 0, 'wildcard' => 0,
'symbol' => 0, 'symbol' => 0,
]) ])
->appliedCount->toMatchArray([ ->appliedCount->toMatchArray([
'char' => 1, 'char' => 1,
'number' => 0, 'number' => 0,
'wildcard' => 0, 'wildcard' => 0,
'symbol' => 0, 'symbol' => 0,
]); ]);
}); });
test('interceptor is applied', function () use ($state) { test('interceptor is applied', function () use ($state) {