12 lines
268 B
PHP
12 lines
268 B
PHP
<?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");
|
|
|