diff --git a/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js b/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js index db389723..2e281732 100644 --- a/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js +++ b/resources/mode/mediawiki/tests/qunit/CodeMirror.mediawiki.test.js @@ -47,7 +47,9 @@ { title: 'ref tag with cite web, extraneous curly braces', input: '{{cite web|2=foo}}}}', - output: '
<ref>{{cite web|2=foo}}}}</ref>
'
+ output: mw.loader.getState( 'ext.cite.styles' ) ?
+ '<ref>{{cite web|2=foo}}}}</ref>
' :
+ '<ref>{{cite web|2=foo}}}}</ref>
'
},
{
title: 'template with params and parser function',