mirror of https://github.com/tc39/test262.git
Repair indexOf test that was testing lastIndexOf (#2521)
Looks like a cut-n-paste error; a test in the `indexOf` subtree was actually testing the `lastIndexOf` function. Now pointing where it should. Fixes #2520.
This commit is contained in:
parent
36882a28e2
commit
b0cb75f30c
|
@ -8,7 +8,7 @@ description: >
|
||||||
'array' with length 0 )
|
'array' with length 0 )
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var i = Array.prototype.lastIndexOf.call({
|
var i = Array.prototype.indexOf.call({
|
||||||
length: 0
|
length: 0
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue