diff --git a/Netdisco/t/html/portsort.html b/Netdisco/t/html/portsort.html index cfa2cd99..abf8e53e 100644 --- a/Netdisco/t/html/portsort.html +++ b/Netdisco/t/html/portsort.html @@ -1,188 +1,188 @@ - - portsort.js test suite - - + + portsort.js test suite + + - - - - + + + }); + var sortFn = jQuery.fn.dataTableExt.oSort["portsort-asc"]; + function wrapTest(origArray, sortArray, message) { + deepEqual($.extend([], origArray).sort(sortFn), sortArray, (message ? message + ' - ' : '') + QUnit.jsDump.parse(origArray)); + }; +