From: Timo Tijhof Date: Wed, 26 Jul 2017 02:02:16 +0000 (-0700) Subject: jquery.tablesorter: Make tests QUnit 2 compatible (remove testCount) X-Git-Tag: 1.31.0-rc.0~2582^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=5656c571eeb14db9e62d7619aaed18df20a8deae;p=lhc%2Fweb%2Fwiklou.git jquery.tablesorter: Make tests QUnit 2 compatible (remove testCount) Follows-up 6418c54c4, 5e602c6132. Missed these because they didn't match my search pattern previously (I didn't account for the test name being a variable instead of a string literal.) Change-Id: Ieae82acc80719041712c8c18b8ddffe387ebe8cf --- diff --git a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js index 5b973f6034..c88941ee5d 100644 --- a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js @@ -286,7 +286,7 @@ * @param {function($table)} callback something to do with the table before we compare */ function tableTest( msg, header, data, expected, callback ) { - QUnit.test( msg, 1, function ( assert ) { + QUnit.test( msg, function ( assert ) { var extracted, $table = tableCreate( header, data ); @@ -310,7 +310,7 @@ * @param {function($table)} callback Something to do with the table before we compare */ function tableTestHTML( msg, html, expected, callback ) { - QUnit.test( msg, 1, function ( assert ) { + QUnit.test( msg, function ( assert ) { var extracted, $table = $( html );