mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 06:55:05 +01: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');
|