From 41077bffdc38858278c7052fc1a0b5315a489379 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 10 Nov 2011 15:20:01 +0000 Subject: [PATCH] Minor tweaks to r102595: remove echo that clutters output, etc --- .../includes/GlobalFunctions/wfRemoveDotSegmentsTest.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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" + ); } /** -- 2.20.1