r103891 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103890‎ | r103891 | r103892 >
Date:12:32, 22 November 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Fix parserTests path for full svn checkout
Modified paths:
  • /trunk/extensions/VisualEditor/tests/parser/parserTests.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/tests/parser/parserTests.js
@@ -66,7 +66,7 @@
6767
6868 var parser = new PegParser();
6969
70 -var testFileName = '../../../../../tests/parser/parserTests.txt'; // default
 70+var testFileName = '../../../../phase3/tests/parser/parserTests.txt'; // default
7171 if (process.argv.length > 2) {
7272 // hack :D
7373 testFileName = process.argv[2];
@@ -167,6 +167,7 @@
168168 }
169169
170170 function processTokens ( tokens, tokenizer ) {
 171+ // push a body element, just to be sure to have one
171172 tokenizer.processToken({type: 'TAG', name: 'body'});
172173 // Process all tokens
173174 for (var i = 0, length = tokens.length; i < length; i++) {

Status & tagging log