Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php |
— | — | @@ -6,10 +6,11 @@ |
7 | 7 | class wfRemoveDotSegments extends MediaWikiTestCase { |
8 | 8 | /** @dataProvider providePaths */ |
9 | 9 | public function testWfRemoveDotSegments( $inputPath, $outputPath ) { |
10 | | - $actualPath = wfRemoveDotSegments( $inputPath ); |
11 | | - $message = "Testing $inputPath expands to $outputPath"; |
12 | | - echo $message . "\n"; |
13 | | - $this->assertEquals( $outputPath, $actualPath, $message ); |
| 10 | + $this->assertEquals( |
| 11 | + $outputPath, |
| 12 | + wfRemoveDotSegments( $inputPath ), |
| 13 | + "Testing $inputPath expands to $outputPath" |
| 14 | + ); |
14 | 15 | } |
15 | 16 | |
16 | 17 | /** |