mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
Refactor shell utilities: reorganize namespaces and introduce Shell base class
This commit is contained in:
@@ -4,8 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace SPC\Tests\util;
|
||||
|
||||
use SPC\exception\RuntimeException;
|
||||
use SPC\util\UnixShell;
|
||||
use SPC\exception\EnvironmentException;
|
||||
use SPC\util\shell\UnixShell;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
@@ -18,7 +18,7 @@ final class UnixShellTest extends TestBase
|
||||
$this->markTestSkipped('This test is for Windows systems only');
|
||||
}
|
||||
|
||||
$this->expectException(RuntimeException::class);
|
||||
$this->expectException(EnvironmentException::class);
|
||||
$this->expectExceptionMessage('Windows cannot use UnixShell');
|
||||
|
||||
new UnixShell();
|
||||
|
||||
Reference in New Issue
Block a user