mirror of
https://github.com/tc39/test262.git
synced 2025-06-02 05:00:30 +02:00
ES6 specific functions should declare a feature.
The String.endsWith and String.includes tests didn't specify either an es6id or a features. Added a features attribute for these tests.
This commit is contained in:
parent
1e80bf22f6
commit
ad1f14c247
@ -8,6 +8,7 @@
|
|||||||
author: Ryan Lewis
|
author: Ryan Lewis
|
||||||
description: endsWith should return false when called on 'word' and passed 'r'.
|
description: endsWith should return false when called on 'word' and passed 'r'.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
endsWith should return false when called on 'word' and passed 'd',
|
endsWith should return false when called on 'word' and passed 'd',
|
||||||
with an endPosition of 3.
|
with an endPosition of 3.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
endsWith should return true when called on 'word' and passed 'd'
|
endsWith should return true when called on 'word' and passed 'd'
|
||||||
and with no endPosition (defaults to 4).
|
and with no endPosition (defaults to 4).
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
endsWith should return true when called on 'word' and passed 'd'
|
endsWith should return true when called on 'word' and passed 'd'
|
||||||
and with an endPosition of 4.
|
and with an endPosition of 4.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
endsWith should return true when called on 'word' and passed 'd'
|
endsWith should return true when called on 'word' and passed 'd'
|
||||||
and with an endPosition of 25.
|
and with an endPosition of 25.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
endsWith should return true when called on 'word' and passed 'r',
|
endsWith should return true when called on 'word' and passed 'r',
|
||||||
with an endPosition of 3.
|
with an endPosition of 3.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#endsWith]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
String should return false if a location is passed that is
|
String should return false if a location is passed that is
|
||||||
greather than the length of the string.
|
greather than the length of the string.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
String should return false if a letter is not found in the word
|
String should return false if a letter is not found in the word
|
||||||
starting from the passed location.
|
starting from the passed location.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
author: Ryan Lewis
|
author: Ryan Lewis
|
||||||
description: String should return false if a letter is not found in the word.
|
description: String should return false if a letter is not found in the word.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
String should return true when called on 'word' and passed 'w' and
|
String should return true when called on 'word' and passed 'w' and
|
||||||
the location 0.
|
the location 0.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -10,6 +10,7 @@ description: >
|
|||||||
String should return true when called on 'word' and passed 'w' and
|
String should return true when called on 'word' and passed 'w' and
|
||||||
with no location (defaults to 0).
|
with no location (defaults to 0).
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
author: Ryan Lewis
|
author: Ryan Lewis
|
||||||
description: String should have the property length with size of 1.
|
description: String should have the property length with size of 1.
|
||||||
includes: [runTestCase.js]
|
includes: [runTestCase.js]
|
||||||
|
features: [String#includes]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function testcase() {
|
function testcase() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user