Refactoring
This commit is contained in:
11
lib/composer/vendor/consolidation/robo/tests/cli/ConcatCept.php
vendored
Normal file
11
lib/composer/vendor/consolidation/robo/tests/cli/ConcatCept.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$I = new CliGuy($scenario);
|
||||
|
||||
$I->wantTo('concat files using Concat Task');
|
||||
$I->amInPath(codecept_data_dir() . 'sandbox');
|
||||
$I->taskConcat(['a.txt', 'b.txt'])
|
||||
->to('merged.txt')
|
||||
->run();
|
||||
$I->seeFileFound('merged.txt');
|
||||
$I->seeFileContentsEqual("A\nB\n");
|
||||
|
||||
Reference in New Issue
Block a user