diff --git a/test/built-ins/Promise/race/resolved-sequence-with-rejections.js b/test/built-ins/Promise/race/resolved-sequence-with-rejections.js index a6fc274cde..cb8bf5bb98 100644 --- a/test/built-ins/Promise/race/resolved-sequence-with-rejections.js +++ b/test/built-ins/Promise/race/resolved-sequence-with-rejections.js @@ -44,7 +44,7 @@ Promise.all([ return checkSequence(sequence, 'Expected to be called second.'); }) ]).then(result => { - compareArray(result, [true, true, true]); + assert.compareArray(result, [true, true, true]); assert.sameValue(sequence.length, 5); checkSequence(sequence); }).then($DONE, $DONE); diff --git a/test/built-ins/Promise/race/resolved-sequence.js b/test/built-ins/Promise/race/resolved-sequence.js index d2d67d42e8..cbcf35f4df 100644 --- a/test/built-ins/Promise/race/resolved-sequence.js +++ b/test/built-ins/Promise/race/resolved-sequence.js @@ -44,7 +44,7 @@ Promise.all([ return checkSequence(sequence, 'Expected to be called second.'); }) ]).then(result => { - compareArray(result, [true, true, true]); + assert.compareArray(result, [true, true, true]); assert.sameValue(sequence.length, 5); checkSequence(sequence) }).then($DONE, $DONE);