Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296924

Change subject: Sync parserTests with core.
......................................................................

Sync parserTests with core.

Change-Id: I49f79b77594c1b4e69cbe7afec1f91e8ff985120
---
M tests/parserTests-blacklist.js
M tests/parserTests.txt
M tools/fetch-parserTests.txt.js
3 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/24/296924/1

diff --git a/tests/parserTests-blacklist.js b/tests/parserTests-blacklist.js
index 19c9f9a..81ae363 100644
--- a/tests/parserTests-blacklist.js
+++ b/tests/parserTests-blacklist.js
@@ -934,7 +934,7 @@
 add("html2wt", "BUG 41: Template parameters shown as broken links", 
"<nowiki>{{{parameter}}}</nowiki>\n");
 add("html2wt", "Template with targets containing wikilinks", 
"<nowiki>{{</nowiki>[[wiki/Foo|foo]]<nowiki>}}</nowiki>\n\n<nowiki>{{</nowiki>[[wiki/Foo|foo]]<nowiki>}}</nowiki>\n\n<nowiki>{{[[foo}}</nowiki>]]\n");
 add("html2wt", "int keyword", "You have lots of money (not!).\n");
-add("html2wt", "int keyword - non-existing message", 
"<nowiki><var></nowiki>\n");
+add("html2wt", "int keyword - non-existing message", "⧼var⧽\n");
 add("html2wt", "<includeonly> and <noinclude> being included", "Foobar\n");
 add("html2wt", "<onlyinclude> being included", "Foo\n");
 add("html2wt", "<onlyinclude> and <includeonly> being included", "Foo\n");
diff --git a/tests/parserTests.txt b/tests/parserTests.txt
index fb27146..f45c666 100644
--- a/tests/parserTests.txt
+++ b/tests/parserTests.txt
@@ -11024,7 +11024,7 @@
 !! wikitext
 {{int:var}}
 !! html
-<p>&lt;var&gt;
+<p>⧼var⧽
 </p>
 !! end
 
diff --git a/tools/fetch-parserTests.txt.js b/tools/fetch-parserTests.txt.js
index c763927..68000ab 100755
--- a/tools/fetch-parserTests.txt.js
+++ b/tools/fetch-parserTests.txt.js
@@ -12,9 +12,9 @@
 //     and update these hashes automatically.
 //
 // You can use 'sha1sum -b tests/parser/parserTests.txt' to compute this value:
-var expectedSHA1 = "4bdc214a83d57881c30c1a18f47fc85957f0059a";
+var expectedSHA1 = "82b1c56d0a15db33b13e3bc1a1f7f9c817e0863c";
 // git log --pretty=oneline -1 tests/parser/parserTests.txt
-var latestCommit = "32a2661a56db1be717ce431c67260bbea771558f";
+var latestCommit = "6cff81981569412ec779495370dfe9566cc175c9";
 
 var fs = require('fs');
 var path = require('path');

-- 
To view, visit https://gerrit.wikimedia.org/r/296924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49f79b77594c1b4e69cbe7afec1f91e8ff985120
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <canan...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to