From 20cd86514e86b876e7fb92ce8b5f0ccc1d909dfc Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 15 Jul 2011 17:34:39 +0000 Subject: [PATCH] followup r92253: revert accidental commit of test code --- tests/qunit/suites/resources/jquery/jquery.localize.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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.' ); -- 2.20.1