parent
bb0a2df293
commit
8ba8580a28
|
@ -57,9 +57,9 @@ class ConsoleIOTest extends TestCase
|
||||||
->method('write')
|
->method('write')
|
||||||
->with(
|
->with(
|
||||||
$this->callback(function($messages){
|
$this->callback(function($messages){
|
||||||
$this->assertRegExp("[(.*)/(.*) First line]", $messages[0]);
|
$result = preg_match("[(.*)/(.*) First line]", $messages[0]) > 0;
|
||||||
$this->assertRegExp("[(.*)/(.*) Second line]", $messages[1]);
|
$result &= preg_match("[(.*)/(.*) Second line]", $messages[1]) > 0;
|
||||||
return true;
|
return $result;
|
||||||
}),
|
}),
|
||||||
$this->equalTo(false)
|
$this->equalTo(false)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue