mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
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:
parent
b0cb75f30c
commit
22cd9fe809
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user