mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-12 09:09:45 +01:00
22 lines
404 B
PHP
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());
|
|
}
|
|
}
|