Files
pest/tests/Features/Warnings.php
Nuno Maduro 26a6e7d712 More tests
2023-07-01 10:31:26 +01:00

22 lines
450 B
PHP

<?php
test('warning', function () {
$this->fooqwdfwqdfqw;
expect(true)->toBeTrue();
});
test('user warning', function () {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});
describe('a "describe" group of tests', function () {
test('user warning', function () {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});
});