jquery.tablesorter: Make tests QUnit 2 compatible (remove testCount)
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 26 Jul 2017 02:02:16 +0000 (19:02 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 26 Jul 2017 02:02:16 +0000 (19:02 -0700)
Follows-up 6418c54c45e602c6132. 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

tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js

index 5b973f6..c88941e 100644 (file)
         * @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 );
 
         * @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 );