Refactoring
This commit is contained in:
13
lib/composer/vendor/consolidation/robo/tests/cli/ExecCest.php
vendored
Normal file
13
lib/composer/vendor/consolidation/robo/tests/cli/ExecCest.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class ExecCest
|
||||
{
|
||||
// tests
|
||||
public function toExecLsCommand(CliGuy $I)
|
||||
{
|
||||
$command = strncasecmp(PHP_OS, 'WIN', 3) == 0 ? 'dir' : 'ls';
|
||||
$res = $I->taskExec($command)->run();
|
||||
verify($res->getMessage())->contains('src');
|
||||
verify($res->getMessage())->contains('codeception.yml');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user