Mutagenesis\Renderer\Text::_indentTestOutput PHP Method

_indentTestOutput() protected method

Utility function to prefix test output lines with an indent and equals sign
protected _indentTestOutput ( $output ) : string
return string
    protected function _indentTestOutput($output)
    {
        $lines = explode("\n", $output);
        $out = array();
        foreach ($lines as $line) {
            $out[] = '    > ' . $line;
        }
        $return = implode("\n", $out);
        return $return;
    }