From: Brion Vibber Date: Tue, 24 May 2011 18:35:30 +0000 (+0000) Subject: add a @fixme comment about toggleToc test case: doesn't actually test if the function... X-Git-Tag: 1.31.0-rc.0~29972 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=988211947010959777db8424247253e380502ed9;p=lhc%2Fweb%2Fwiklou.git add a @fixme comment about toggleToc test case: doesn't actually test if the function works, just confirms that it exists. --- diff --git a/tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js b/tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js index e1b5936510..cfedac9720 100644 --- a/tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js +++ b/tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js @@ -57,6 +57,9 @@ test( 'addCSS', function(){ }); +/** + * @fixme this seems to only test for the existence of the function, and does not confirm that it works + */ test( 'toggleToc', function(){ ok( mw.util.toggleToc );