Skip to content

Commit

Permalink
failing deepEqual() again
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday authored and isaacs committed Feb 22, 2012
1 parent 703214f commit af67811
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions test/deep.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,31 @@ test("deepEquals shouldn't care about key order recursively", function (t) {
)
t.end()
})

test("deepEquals shoudn't care about key order but still might", function (t) {
t.deepEqual(
[ { foo:
{ z: 100
, y: 200
, x: 300 } }
, "bar"
, 11
, { baz:
{ d : 4
, a: 1
, b: 2
, c: 3 } } ]
, [ { foo :
{ z: 100
, y: 200
, x: 300 } }
, "bar"
, 11
, { baz:
{ a: 1
, b: 2
, c: 3
, d: 4 } } ]
)
t.end()
});

0 comments on commit af67811

Please sign in to comment.