From 5656c571eeb14db9e62d7619aaed18df20a8deae Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 25 Jul 2017 19:02:16 -0700 Subject: [PATCH] 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 --- .../qunit/suites/resources/jquery/jquery.tablesorter.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.20.1