Permalink
Browse files

Better formatting for direct test access.

  • Loading branch information...
1 parent 1a4d9e8 commit 9ec7561f9ee70bca4034c981f8d5e88f074e4c46 @ringmaster ringmaster committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 units/test_format.php
View
2 units/test_format.php
@@ -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'] ) ),

0 comments on commit 9ec7561

Please sign in to comment.