Merge pull request #350 from pvginkel/missing-features-on-es6-string-functions

ES6 specific functions should declare a feature.
This commit is contained in:
Brian Terlson 2015-07-06 17:20:10 -05:00
commit fb52ce9a5b
12 changed files with 12 additions and 0 deletions

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {