r62424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62423‎ | r62424 | r62425 >
Date:13:46, 13 February 2010
Author:platonides
Status:ok
Tags:
Comment:
parserTests.txt shall be opened in text mode.
Followup of r62006 which broke parser tests on windows (crlf line endings).
Modified paths:
  • /trunk/phase3/maintenance/parserTests.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.inc
@@ -1562,7 +1562,7 @@
15631563 global $IP;
15641564
15651565 $this->file = $file;
1566 - $this->fh = fopen($this->file, "r");
 1566+ $this->fh = fopen($this->file, "rt");
15671567 if( !$this->fh ) {
15681568 wfDie( "Couldn't open file '$file'\n" );
15691569 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62006PHPUnit now sees individual parser tests as separate tests. This...mah04:01, 5 February 2010

Status & tagging log