Skip to content

Commit

Permalink
Better formatting for direct test access.
Browse files Browse the repository at this point in the history
  • Loading branch information
ringmaster committed Mar 26, 2012
1 parent 1a4d9e8 commit 9ec7561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion units/test_format.php
Expand Up @@ -16,7 +16,7 @@ public function test_autop()
$result = ( trim( $datum['want'] ) === trim( Format::autop( $datum['in'] ) ) ? true : false );

if( ! $result ) {
$this->output( ( sprintf( '<h2>Test %s</h2><strong>Input:</strong><textarea>%s</textarea><strong>Expected:</strong><textarea>%s</textarea><strong>Got:</strong><br><textarea>%s</textarea>',
$this->output( ( sprintf( '<h2>Test %s</h2><br><strong>Input:</strong><br><textarea>%s</textarea><br><strong>Expected:</strong><br><textarea>%s</textarea><br><strong>Got:</strong><br><textarea>%s</textarea>',
$index,
nl2br( Utils::htmlspecialchars( $datum['in'] ) ),
nl2br( Utils::htmlspecialchars( $datum['want'] ) ),
Expand Down

0 comments on commit 9ec7561

Please sign in to comment.