Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: bumps dependencies
  • Loading branch information
nunomaduro committed Apr 19, 2023
1 parent 5c0df87 commit 1a05df1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -22,7 +22,7 @@
"nunomaduro/collision": "^7.5.0",
"nunomaduro/termwind": "^1.15.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"
},
"conflict": {
Expand Down
14 changes: 7 additions & 7 deletions tests/Features/Expect/HigherOrder/methods.php
Expand Up @@ -85,16 +85,16 @@ function ($book) {
it('can use the scoped method to lock into the given level for expectations', function () {
expect(new HasMethods())
->attributes()->scoped(fn ($attributes) => $attributes
->name->toBe('Has Methods')
->quantity->toBe(20)
->name->toBe('Has Methods')
->quantity->toBe(20)
)
->name()->toBeString()->toBe('Has Methods')
->newInstance()->newInstance()->scoped(fn ($instance) => $instance
->name()->toBe('Has Methods')
->quantity()->toBe(20)
->attributes()->scoped(fn ($attributes) => $attributes
->name->toBe('Has Methods')
->quantity->toBe(20)
->name()->toBe('Has Methods')
->quantity()->toBe(20)
->attributes()->scoped(fn ($attributes) => $attributes
->name->toBe('Has Methods')
->quantity->toBe(20)
)
);
});
Expand Down
26 changes: 13 additions & 13 deletions tests/Features/Expect/pipes.php
Expand Up @@ -171,19 +171,19 @@ public function reset(): void
$state->reset();

expect($char)->not->toBe(new Char('B'))
->and($state)
->runCount->toMatchArray([
'char' => 1,
'number' => 0,
'wildcard' => 0,
'symbol' => 0,
])
->appliedCount->toMatchArray([
'char' => 1,
'number' => 0,
'wildcard' => 0,
'symbol' => 0,
]);
->and($state)
->runCount->toMatchArray([
'char' => 1,
'number' => 0,
'wildcard' => 0,
'symbol' => 0,
])
->appliedCount->toMatchArray([
'char' => 1,
'number' => 0,
'wildcard' => 0,
'symbol' => 0,
]);
});

test('interceptor is applied', function () use ($state) {
Expand Down

0 comments on commit 1a05df1

Please sign in to comment.