mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 23:44:27 +02:00
Merge pull request #350 from pvginkel/missing-features-on-es6-string-functions
ES6 specific functions should declare a feature.
This commit is contained in:
commit
fb52ce9a5b
@ -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