mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
16 lines
254 B
PHP
16 lines
254 B
PHP
<?php
|
|
|
|
use Pest\PendingCalls\TestCall;
|
|
use Pest\Support\HigherOrderTapProxy;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* @return TestCase
|
|
*/
|
|
function myAssertTrue($value): HigherOrderTapProxy|TestCall
|
|
{
|
|
test()->assertTrue($value);
|
|
|
|
return test();
|
|
}
|