Files
pest/tests/Features/ThrowsNoExceptions.php
T
nuno maduro 4a65054f83 chore: style
2026-08-24 09:39:08 +01:00

20 lines
528 B
PHP

<?php
declare(strict_types=1);
it('allows access to the underlying expectNotToPerformAssertions method', function (): void {
$this->expectNotToPerformAssertions();
$result = 1 + 1;
});
it('allows performing no expectations without being risky', function (): void {
$result = 1 + 1;
})->throwsNoExceptions();
describe('a "describe" group of tests', function (): void {
it('allows performing no expectations without being risky', function (): void {
$result = 1 + 1;
});
})->throwsNoExceptions();