Permalink
Browse files

BUGFIX Trimming expected output of WebserverRoutingTest (newlines bef…

…ore the "ok" string were causing failures on PHP 5.3) (from r103912)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112324 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 28a7b03 commit d25916b8101db400b89dbe82acd8eb9f69cc7ac1 @chillu chillu committed Oct 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/WebserverRoutingTest.php
@@ -26,7 +26,7 @@ function testCanAccessWebserverThroughCurl() {
$info = curl_getinfo($ch);
$this->assertEquals(curl_error($ch), '');
- $this->assertEquals($response, 'ok');
+ $this->assertEquals(trim($response), 'ok');
curl_close($ch);
}

0 comments on commit d25916b

Please sign in to comment.