assert: Ensure reflexivity of deepEqual
authorMike Pennisi <mike@mikepennisi.com>
Mon, 24 Feb 2014 19:16:40 +0000 (14:16 -0500)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 25 Feb 2014 16:32:49 +0000 (20:32 +0400)
commitaae51ecf7d407b2fb56c1f3e1edf91a16940c973
tree43275f90f20cafe15f0b167461141027fb37f030
parent70ea5bac431ae136368fc2c88e4bbe9e4b93a9aa
assert: Ensure reflexivity of deepEqual

Ensure that the behavior of `assert.deepEqual` does not depend on
argument ordering  when comparing an `arguments` object with a
non-`arguments` object.
lib/assert.js
test/simple/test-assert.js