mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 18:27:23 +01:00
Refactor
This commit is contained in:
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Pest\Concerns\Testable;
|
|
||||||
use Pest\Datasets;
|
use Pest\Datasets;
|
||||||
use Pest\Expectation;
|
use Pest\Expectation;
|
||||||
use Pest\PendingObjects\AfterEachCall;
|
use Pest\PendingObjects\AfterEachCall;
|
||||||
@ -86,7 +85,7 @@ if (!function_exists('test')) {
|
|||||||
* is the test description; the second argument is
|
* is the test description; the second argument is
|
||||||
* a closure that contains the test expectations.
|
* a closure that contains the test expectations.
|
||||||
*
|
*
|
||||||
* @return TestCall|TestCase|Testable|mixed
|
* @return TestCall|TestCase|mixed
|
||||||
*/
|
*/
|
||||||
function test(string $description = null, Closure $closure = null)
|
function test(string $description = null, Closure $closure = null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user