mirror of https://github.com/tc39/test262.git
remove spurious flags: [path]
This commit is contained in:
parent
e2b675f443
commit
5fbb0a3902
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
Array.prototype.find shouldn't throw a TypeError if
|
||||
IsCallable(predicate) is true
|
||||
flags: [path]
|
||||
includes: [runTestCase.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: Find on empty array should return undefined
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var a = [].find(function () {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: The length property of the find method is 1
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
if ([].find.length !== 1) {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: Array may be mutated by calls to the predicate
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
[1, 2, 3].find(function (v, i, arr) {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: Find with a predicate with no return value should return undefined
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var a = [1, 2, 3].find(function () {});
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
Array.prototype.find should throw a TypeError if
|
||||
IsCallable(predicate) is false
|
||||
flags: [path]
|
||||
includes: [runTestCase.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
predicate is called with three arguments: the value of the
|
||||
element, the index of the element, and the object being traversed.
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var a = [1];
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
Elements added to array after find has been called should not be
|
||||
visited
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
[1].find(function (v, i, arr) {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
Elements removed from array after find has been called should not
|
||||
be visited
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
[1, 'string', 2].find(function (v, i, arr) {
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: Find should return value if predicate returns true
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var testVals = [
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
description: >
|
||||
predicate is called only for elements of the array which actually
|
||||
exist; it is not called for missing elements of the array
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var a = [];
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: thisArg should be bound to this if provided
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var globalThis = this;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: Array.prototype.find should convert thisArg into an object
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var dataTypes = [
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
/*---
|
||||
description: thisArg should be undefined if not provided
|
||||
flags: [path]
|
||||
---*/
|
||||
|
||||
var globalThis = this;
|
||||
|
|
Loading…
Reference in New Issue