function CommandUnishTestCase::getErrorOutputAsList

8.0.x CommandUnishTestCase.php CommandUnishTestCase::getErrorOutputAsList()
7.x CommandUnishTestCase.php CommandUnishTestCase::getErrorOutputAsList()
master CommandUnishTestCase.php CommandUnishTestCase::getErrorOutputAsList()

Accessor for the last stderr output, rtrimmed and split on newlines.

@access public

Return value

array Stderr as array of lines.

File

tests/Unish/CommandUnishTestCase.php, line 129

Namespace

Unish

Class

CommandUnishTestCase

Code

function getErrorOutputAsList() {
  return array_map('rtrim', explode("\n", $this->getErrorOutput()));
}