tests: adds collision tests

This commit is contained in:
Nuno Maduro
2023-03-21 23:55:33 +00:00
parent 43894afa18
commit bb6d6b0951
8 changed files with 108 additions and 4 deletions

View File

@ -0,0 +1,9 @@
<?php
test('error', function () {
throw new Exception('error');
})->skip(! isset($_SERVER['COLLISION_TEST']));
test('success', function () {
expect(true)->toBeTrue();
})->skip(! isset($_SERVER['COLLISION_TEST']));