mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
12 lines
286 B
PHP
12 lines
286 B
PHP
<?php
|
|
|
|
it('allows access to the underlying expectNotToPerformAssertions method', function () {
|
|
$this->expectNotToPerformAssertions();
|
|
|
|
$result = 1 + 1;
|
|
});
|
|
|
|
it('allows performing no expectations without being risky', function () {
|
|
$result = 1 + 1;
|
|
})->throwsNoExceptions();
|