Repair filter test that was testing concat (#2522)

Looks like a cut-n-paste error. A test in the
built-ins/Array/prototype/filter subtree was exercising the concat
function.

Fixes #2519.
This commit is contained in:
Steven Cole 2020-03-10 18:10:39 -07:00 committed by GitHub
parent b0cb75f30c
commit 22cd9fe809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ array.constructor = OArray;
Object.defineProperty(Array, Symbol.species, speciesDesc);
Object.defineProperty(OArray, Symbol.species, speciesDesc);
result = array.concat(function() {});
result = array.filter(function() {});
assert.sameValue(Object.getPrototypeOf(result), Array.prototype);
assert.sameValue(callCount, 0, 'Species constructor is not referenced');