Hoo man has uploaded a new change for review.

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


Change subject: Fix the repo Autocomment tests broken by a core change
......................................................................

Fix the repo Autocomment tests broken by a core change

These have been broken with I2622b35e712120dc171ea44a887d6b42286f2a06

Change-Id: Id7d51b6ff2187c460246d89bb949dff0ca5de4c8
---
M repo/tests/phpunit/includes/AutocommentTest.php
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/12/70812/1

diff --git a/repo/tests/phpunit/includes/AutocommentTest.php 
b/repo/tests/phpunit/includes/AutocommentTest.php
index ab022d2..6790f4f 100644
--- a/repo/tests/phpunit/includes/AutocommentTest.php
+++ b/repo/tests/phpunit/includes/AutocommentTest.php
@@ -61,7 +61,7 @@
                                'foo', 'wbeditentity', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?</span>bar</span>!'
                        ),
                        array(
                                CONTENT_MODEL_WIKIBASE_ITEM,
@@ -69,7 +69,7 @@
                                'foo', 'wbsetlabel-set:1|en', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?\[en\].*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?\[en\].*?</span>bar</span>!'
                        ),
                        array(
                                CONTENT_MODEL_WIKIBASE_ITEM,
@@ -77,7 +77,7 @@
                                'foo', 'wbsetlabel-set:1|<>', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?\[&lt;&gt;\].*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?\[&lt;&gt;\].*?</span>bar</span>!'
                        ),
                        array(
                                CONTENT_MODEL_WIKIBASE_ITEM,
@@ -85,7 +85,7 @@
                                'foo', 'wbsetlabel-set:1|&lt;&gt;', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?\[&lt;&gt;\].*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?\[&lt;&gt;\].*?</span>bar</span>!'
                        ),
                        array(
                                CONTENT_MODEL_WIKIBASE_ITEM,
@@ -93,7 +93,7 @@
                                'foo', 'wbsetlabel-set:1|&', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?\[&amp;\].*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?\[&amp;\].*?</span>bar</span>!'
                        ),
                        array(
                                CONTENT_MODEL_WIKIBASE_ITEM,
@@ -101,7 +101,7 @@
                                'foo', 'wbsetlabel-set:1|…', 'bar',
                                'Title',
                                false,
-                               '!foo- ‎<span dir="auto"><span 
class="autocomment">.*?\[…\].*?</span>bar</span>!'
+                               '!foo ‎<span dir="auto"><span 
class="autocomment">.*?\[…\].*?</span>bar</span>!'
                        )
                );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7d51b6ff2187c460246d89bb949dff0ca5de4c8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

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

Reply via email to