Update tests to match parser changes

Bug: T208070
Bug: T218702
Depends-On: I8b6a8c8241a8766fdccdcac45553298fa23a5046
Change-Id: I15c81a2c15311406b643fee5ec0ae597c1887b3f
This commit is contained in:
Arlo Breault 2019-03-19 13:13:36 -04:00
parent 91a02e769c
commit cd9de940eb

View file

@ -336,7 +336,6 @@ Scribunto: expandTemplate with headers
!! result !! result
<h2><span class="mw-headline" id="foo">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&amp;action=edit&amp;section=1" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <h2><span class="mw-headline" id="foo">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&amp;action=edit&amp;section=1" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
<h2><span class="mw-headline" id="bar">bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Scribunto_template_with_headers&amp;action=edit&amp;section=T-1" title="Template:Scribunto template with headers">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <h2><span class="mw-headline" id="bar">bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Scribunto_template_with_headers&amp;action=edit&amp;section=T-1" title="Template:Scribunto template with headers">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
!! end !! end
!! test !! test
@ -484,7 +483,6 @@ Scribunto: Strip markers in CSS
{{#invoke:test|testStrippedCss|<nowiki>#ff0000</nowiki>}} {{#invoke:test|testStrippedCss|<nowiki>#ff0000</nowiki>}}
!! result !! result
<div style="color:#ff0000"></div> <div style="color:#ff0000"></div>
!! end !! end
!! test !! test