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