Replace deepEqual with compareArray

Here is one place where compareArray is better fit for purpose, because we
are comparing an array.
This commit is contained in:
Philip Chimento 2022-04-11 14:00:58 -07:00 committed by Rick Waldron
parent f0bf5dfcea
commit b68c751f5b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ info: |
esid: sec-error-message esid: sec-error-message
features: [error-cause] features: [error-cause]
includes: [deepEqual.js] includes: [compareArray.js]
---*/ ---*/
var message = "my-message"; var message = "my-message";
@ -34,4 +34,4 @@ new Error(
}, },
); );
assert.deepEqual(sequence, [ "toString", "cause" ], "accessing own properties on sequence"); assert.compareArray(sequence, [ "toString", "cause" ], "accessing own properties on sequence");