From: Chad Horohoe Date: Thu, 10 Nov 2011 15:20:01 +0000 (+0000) Subject: Minor tweaks to r102595: remove echo that clutters output, etc X-Git-Tag: 1.31.0-rc.0~26589 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=41077bffdc38858278c7052fc1a0b5315a489379;p=lhc%2Fweb%2Fwiklou.git Minor tweaks to r102595: remove echo that clutters output, etc --- diff --git a/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php b/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php index dd86c02668..c60600535a 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php +++ b/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php @@ -6,10 +6,11 @@ class wfRemoveDotSegments extends MediaWikiTestCase { /** @dataProvider providePaths */ public function testWfRemoveDotSegments( $inputPath, $outputPath ) { - $actualPath = wfRemoveDotSegments( $inputPath ); - $message = "Testing $inputPath expands to $outputPath"; - echo $message . "\n"; - $this->assertEquals( $outputPath, $actualPath, $message ); + $this->assertEquals( + $outputPath, + wfRemoveDotSegments( $inputPath ), + "Testing $inputPath expands to $outputPath" + ); } /**