From d634febae7eea4ac6685bf83609bd9945187b87f Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sat, 5 May 2018 13:23:08 +0200 Subject: [PATCH] tablesorter: test for data-sort-value on children data-sort-value also works on children elements. This makes sure that functionality is tested. Change-Id: Ic2cd51c5709cec2e510c6c2742b6bc44c4df38be --- .../qunit/suites/resources/jquery/jquery.tablesorter.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js index 74caf5ca3a..495ce74c4d 100644 --- a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js @@ -954,6 +954,7 @@ 'B' + 'G' + 'C' + + 'H' + '' ); $table.tablesorter().find( '.headerSort:eq(0)' ).click(); @@ -977,6 +978,10 @@ data: undefined, text: 'D' }, + { + data: undefined, + text: 'H' + }, { data: 'E', text: 'A' -- 2.20.1