Skip to content

Commit b1ffef8

Browse files
committed
Check path ordering in test suite
1 parent 81b81b9 commit b1ffef8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/arrays.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ test("nested array", () => {
2828
test("object in array in object", () => {
2929
assert.deepStrictEqual(
3030
diff(
31-
{ test: ["test", { test: true }] },
32-
{ test: ["test", { test: false }] },
31+
{ test: ["test", { test2: true }] },
32+
{ test: ["test", { test2: false }] },
3333
),
3434
[
3535
{
3636
type: "CHANGE",
37-
path: ["test", 1, "test"],
37+
path: ["test", 1, "test2"],
3838
value: false,
3939
oldValue: true,
4040
},

0 commit comments

Comments
 (0)