r102661 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102660‎ | r102661 | r102662 >
Date:15:20, 10 November 2011
Author:demon
Status:ok
Tags:
Comment:
Minor tweaks to r102595: remove echo that clutters output, etc
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfRemoveDotSegmentsTest.php
@@ -6,10 +6,11 @@
77 class wfRemoveDotSegments extends MediaWikiTestCase {
88 /** @dataProvider providePaths */
99 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+ );
1415 }
1516
1617 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102595Move tests that have likely never been executed. Now they will be executed....gicode23:11, 9 November 2011

Status & tagging log