mirror of https://github.com/tc39/test262.git
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:
parent
f0bf5dfcea
commit
b68c751f5b
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue