Fix failing test.

This commit is contained in:
mark_story 2013-02-28 21:31:09 -05:00
parent 92d215df4d
commit 00edc594bf

View file

@ -482,8 +482,11 @@ TEXT;
ob_start();
Debugger::dump($var);
$result = ob_get_clean();
$open = php_sapi_name() == 'cli' ? "\n" : '<pre>';
$close = php_sapi_name() == 'cli' ? "\n" : '</pre>';
$expected = <<<TEXT
<pre>array(
{$open}array(
'People' => array(
(int) 0 => array(
'name' => 'joeseph',
@ -496,7 +499,7 @@ TEXT;
'hair' => 'black'
)
)
)</pre>
){$close}
TEXT;
$this->assertTextEquals($expected, $result);
}