From: Brion Vibber Date: Fri, 15 Jul 2011 17:34:39 +0000 (+0000) Subject: followup r92253: revert accidental commit of test code X-Git-Tag: 1.31.0-rc.0~28819 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=20cd86514e86b876e7fb92ce8b5f0ccc1d909dfc;p=lhc%2Fweb%2Fwiklou.git followup r92253: revert accidental commit of test code --- diff --git a/tests/qunit/suites/resources/jquery/jquery.localize.js b/tests/qunit/suites/resources/jquery/jquery.localize.js index 774cbc31f3..43eac092b6 100644 --- a/tests/qunit/suites/resources/jquery/jquery.localize.js +++ b/tests/qunit/suites/resources/jquery/jquery.localize.js @@ -12,16 +12,14 @@ test( 'Handle basic replacements', function() { mw.messages.set( 'basic', 'Basic stuff' ); // Tag: html:msg - html = '
'; + html = '
'; $lc = $( html ).localize().find( 'span' ); - console.log($lc.length); strictEqual( $lc.text(), 'Basic stuff', 'Tag: html:msg' ); // Tag: msg (deprecated) - html = '
'; + html = '
'; $lc = $( html ).localize().find( 'span' ); - $('body').append($lc); strictEqual( $lc.text(), 'Basic stuff', 'Tag: msg' ); @@ -48,7 +46,7 @@ test( 'Proper escaping', function() { // making sure it is actually using text() and attr() (or something with the same effect) // Text escaping - html = '
'; + html = '
'; $lc = $( html ).localize().find( 'span' ); strictEqual( $lc.text(), mw.msg( 'properfoo' ), 'Content is inserted as text, not as html.' );