mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-02 17:56:09 +01:00
22 lines
402 B
PHP
22 lines
402 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);
|
|
|
|
self::assertSame($phpunit, Env\current_exec());
|
|
}
|
|
}
|