aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/traversing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/traversing.js')
-rw-r--r--test/unit/traversing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/traversing.js b/test/unit/traversing.js
index b80b673ff..08b384a7e 100644
--- a/test/unit/traversing.js
+++ b/test/unit/traversing.js
@@ -696,7 +696,7 @@ test("sort direction", function() {
jQuery.each( methodDirections, function( method, reversed ) {
var actual = elems[ method ]().get(),
- forward = jQuery.unique( [].concat( actual ) );
+ forward = jQuery.uniqueSort( [].concat( actual ) );
deepEqual( actual, reversed ? forward.reverse() : forward, "Correct sort direction for " + method );
});
});