mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
10 lines
203 B
PHP
10 lines
203 B
PHP
<?php
|
|
|
|
it('may fail', function (): void {
|
|
$this->fail();
|
|
})->fails();
|
|
|
|
it('may fail with the given message', function (): void {
|
|
$this->fail('this is a failure');
|
|
})->fails('this is a failure');
|