mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
12 lines
262 B
PHP
12 lines
262 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
test('error', function (): void {
|
|
throw new Exception('error');
|
|
})->skip(! isset($_SERVER['COLLISION_TEST']));
|
|
|
|
test('success', function (): void {
|
|
expect(true)->toBeTrue();
|
|
})->skip(! isset($_SERVER['COLLISION_TEST']));
|