endtoend-test-psl/tests/Psl/Env/CurrentExecTest.php
2020-10-15 11:05:30 +02:00

22 lines
404 B
PHP

<?php
declare(strict_types=1);
namespace Psl\Tests\Env;
use PHPUnit\Framework\TestCase;
use Psl\Env;
use function realpath;
final class CurrentExecTest extends TestCase
{
public function testCurrentExe(): void
{
$phpunit = __DIR__ . '/../../../vendor/phpunit/phpunit/phpunit';
$phpunit = realpath($phpunit);
static::assertSame($phpunit, Env\current_exec());
}
}