mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
Renames method to throwsNoExceptions.
This commit is contained in:
11
tests/Features/ThrowsNoExceptions.php
Normal file
11
tests/Features/ThrowsNoExceptions.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?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();
|
||||
Reference in New Issue
Block a user