Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

failing deepEqual() again

  • Loading branch information...
commit af67811a5c168d2ad10f1a972ea57f72a41473fd 1 parent 703214f
James Halliday substack authored committed
Showing with 28 additions and 0 deletions.
  1. +28 −0 test/deep.js
28 test/deep.js
View
@@ -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()
+});
Please sign in to comment.
Something went wrong with that request. Please try again.