From 4eb2eea8093ddaaeae8a3e168113953539500925 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 19 Jul 2015 09:22:22 -0700 Subject: [PATCH] Remove unneeded `sort` calls from keys tests. --- test/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.js b/test/test.js index c7bd4d2e1..2854384ae 100644 --- a/test/test.js +++ b/test/test.js @@ -8784,7 +8784,7 @@ // IE 9 doesn't box numbers in for-in loops. numberProto.a = 1; - deepEqual(func(0).sort(), isKeys ? [] : ['a']); + deepEqual(func(0), isKeys ? [] : ['a']); delete numberProto.a; }); @@ -8930,10 +8930,10 @@ Foo.prototype.b = 2; var expected = ['a']; - deepEqual(func(Foo).sort(), expected); + deepEqual(func(Foo), expected); Foo.prototype = { 'b': 2 }; - deepEqual(func(Foo).sort(), expected); + deepEqual(func(Foo), expected); }); test('`_.' + methodName + '` skips the `constructor` property on prototype objects', 3, function() {