Skip to content
Permalink
Browse files

Fixing failing test caused by additional trailing space.

  • Loading branch information...
markstory committed Dec 4, 2010
1 parent b49c440 commit ba63a2948c055db76b7a0b67e29d907f488437ff
Showing with 1 addition and 2 deletions.
  1. +1 −2 cake/tests/cases/console/libs/console_error_handler.test.php
@@ -43,7 +43,6 @@ function setUp() {
*/
function tearDown() {
parent::tearDown();
ConsoleErrorHandler::$stderr = null;
}
/**
@@ -52,7 +51,7 @@ function tearDown() {
* @return void
*/
function testHandleError() {
$content = '<error>Notice Error:</error> This is a notice error in [/some/file, line 275]';
$content = "<error>Notice Error:</error> This is a notice error in [/some/file, line 275]\n";
ConsoleErrorHandler::$stderr->expects($this->once())->method('write')
->with($content);

0 comments on commit ba63a29

Please sign in to comment.
You can’t perform that action at this time.