mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
12 lines
229 B
PHP
12 lines
229 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
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');
|