mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
remove the warning
This commit is contained in:
@ -39,16 +39,6 @@ it('failures', function () {
|
||||
);
|
||||
})->throws(ExpectationFailedException::class, 'true is false');
|
||||
|
||||
it('adds a warning if no match is found', function () {
|
||||
expect(true)
|
||||
->match('bar', [
|
||||
'foo' => function ($value) {
|
||||
return $value->toBeFalse();
|
||||
},
|
||||
]
|
||||
);
|
||||
});
|
||||
|
||||
it('runs with truthy', function () {
|
||||
expect('foo')
|
||||
->match(1, [
|
||||
|
||||
Reference in New Issue
Block a user