Followup r86088: test cases and a correction for bug 17141 (IPv4 address sorting)
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 23 Jun 2011 00:37:23 +0000 (00:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 23 Jun 2011 00:37:23 +0000 (00:37 +0000)
commitf2ff5d901af621944c7aa9c8325a5ec6fcd148cf
treec833300f0f7dac19832668f982b7ba98b622f30e
parent18041f7b7180a02f056b40cf839d30cd14d3fd5f
Followup r86088: test cases and a correction for bug 17141 (IPv4 address sorting)

Test lists 8 randomly generated IPv4 addresses and attempts to sort them both forward and back.
Turned up a bug where single-digit octets (eg a .1 or .9) were not expanded in the sort key, causing them to mis-sort.
resources/jquery/jquery.tablesorter.js
tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js