From ad1f14c2472ea22c489832a7cadd50a30e89c99f Mon Sep 17 00:00:00 2001
From: Pieter van Ginkel <pvginkel@gmail.com>
Date: Sun, 5 Jul 2015 15:54:28 +0200
Subject: [PATCH] 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.
---
 .../String/prototype/endsWith/String.prototype.endsWith_Fail.js  | 1 +
 .../prototype/endsWith/String.prototype.endsWith_Fail_2.js       | 1 +
 .../prototype/endsWith/String.prototype.endsWith_Success.js      | 1 +
 .../prototype/endsWith/String.prototype.endsWith_Success_2.js    | 1 +
 .../prototype/endsWith/String.prototype.endsWith_Success_3.js    | 1 +
 .../prototype/endsWith/String.prototype.endsWith_Success_4.js    | 1 +
 .../includes/String.prototype.includes_FailBadLocation.js        | 1 +
 .../prototype/includes/String.prototype.includes_FailLocation.js | 1 +
 .../includes/String.prototype.includes_FailMissingLetter.js      | 1 +
 .../prototype/includes/String.prototype.includes_Success.js      | 1 +
 .../includes/String.prototype.includes_SuccessNoLocation.js      | 1 +
 .../prototype/includes/String.prototype.includes_lengthProp.js   | 1 +
 12 files changed, 12 insertions(+)

diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail.js
index e6502fcd36..4f8da6eae0 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail.js
@@ -8,6 +8,7 @@
 author: Ryan Lewis
 description: endsWith should return false when called on 'word' and passed 'r'.
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail_2.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail_2.js
index 0bf4898927..51f989b088 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail_2.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Fail_2.js
@@ -10,6 +10,7 @@ description: >
     endsWith should return false when called on 'word' and passed 'd',
     with an endPosition of 3.
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success.js
index 02e1e6e97a..a474b76b42 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success.js
@@ -10,6 +10,7 @@ description: >
     endsWith should return true when called on 'word' and passed 'd'
     and with no endPosition (defaults to 4).
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_2.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_2.js
index 61584dbe11..6a4187d513 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_2.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_2.js
@@ -10,6 +10,7 @@ description: >
     endsWith should return true when called on 'word' and passed 'd'
     and with an endPosition of 4.
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_3.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_3.js
index c683c8a996..cfa089209a 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_3.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_3.js
@@ -10,6 +10,7 @@ description: >
     endsWith should return true when called on 'word' and passed 'd'
     and with an endPosition of 25.
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_4.js b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_4.js
index 116ddc8eb6..d5aef4a12f 100644
--- a/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_4.js
+++ b/test/built-ins/String/prototype/endsWith/String.prototype.endsWith_Success_4.js
@@ -10,6 +10,7 @@ description: >
     endsWith should return true when called on 'word' and passed 'r',
     with an endPosition of 3.
 includes: [runTestCase.js]
+features: [String#endsWith]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_FailBadLocation.js b/test/built-ins/String/prototype/includes/String.prototype.includes_FailBadLocation.js
index b683469a8d..98dffc633b 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_FailBadLocation.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_FailBadLocation.js
@@ -10,6 +10,7 @@ description: >
     String should return false if a location is passed that is
     greather than the length of the string.
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_FailLocation.js b/test/built-ins/String/prototype/includes/String.prototype.includes_FailLocation.js
index 9832541d03..5abdd2c29b 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_FailLocation.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_FailLocation.js
@@ -10,6 +10,7 @@ description: >
     String should return false if a letter is not found in the word
     starting from the passed location.
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_FailMissingLetter.js b/test/built-ins/String/prototype/includes/String.prototype.includes_FailMissingLetter.js
index 844ca6c6f4..51ecb134c9 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_FailMissingLetter.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_FailMissingLetter.js
@@ -8,6 +8,7 @@
 author: Ryan Lewis
 description: String should return false if a letter is not found in the word.
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_Success.js b/test/built-ins/String/prototype/includes/String.prototype.includes_Success.js
index 33458bc011..c1c2f72547 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_Success.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_Success.js
@@ -10,6 +10,7 @@ description: >
     String should return true when called on 'word' and passed 'w' and
     the location 0.
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_SuccessNoLocation.js b/test/built-ins/String/prototype/includes/String.prototype.includes_SuccessNoLocation.js
index fe02ac69f2..9d2b0ca29a 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_SuccessNoLocation.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_SuccessNoLocation.js
@@ -10,6 +10,7 @@ description: >
     String should return true when called on 'word' and passed 'w' and
     with no location (defaults to 0).
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
diff --git a/test/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js b/test/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js
index 56c79b46e5..bdc88d1328 100644
--- a/test/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js
+++ b/test/built-ins/String/prototype/includes/String.prototype.includes_lengthProp.js
@@ -8,6 +8,7 @@
 author: Ryan Lewis
 description: String should have the property length with size of 1.
 includes: [runTestCase.js]
+features: [String#includes]
 ---*/
 
 function testcase() {
-- 
GitLab