Update precommit test file list to run all test files.
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String.prototype.isPrototypeOf(new String("")) ? 1 : 0);
|
||||
assert(String.prototype.isPrototypeOf(new String("")));
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charAt(-1) === "" ? 1 : 0);
|
||||
assert(String("abc").charAt(-1) === "");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charAt(3) === "" ? 1 : 0);
|
||||
assert(String("abc").charAt(3) === "");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charAt(0) === "a" ? 1 : 0);
|
||||
assert(String("abc").charAt(0) === "a");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charAt("0") === "a" ? 1 : 0);
|
||||
assert(String("abc").charAt("0") === "a");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(isNaN(String("abc").charCodeAt(-1)) ? 1 : 0);
|
||||
assert(isNaN(String("abc").charCodeAt(-1)));
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charCodeAt(0) === 97 ? 1 : 0);
|
||||
assert(String("abc").charCodeAt(0) === 97);
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").charCodeAt("0") === 97 ? 1 : 0);
|
||||
assert(String("abc").charCodeAt("0") === 97);
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abc").concat("d") === "abcd" ? 1 : 0);
|
||||
assert(String("abc").concat("d") === "abcd");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String().concat() === "" ? 1 : 0);
|
||||
assert(String().concat() === "");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String().concat("a", "b", "c") === "abc" ? 1 : 0);
|
||||
assert(String().concat("a", "b", "c") === "abc");
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abcd").indexOf("ab") === 0 ? 1 : 0);
|
||||
assert(String("abcd").indexOf("ab") === 0);
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abcd").indexOf("ab", 0) === 0 ? 1 : 0);
|
||||
assert(String("abcd").indexOf("ab", 0) === 0);
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
assert(String("abcd").indexOf("ab", 1) === -1 ? 1 : 0);
|
||||
assert(String("abcd").indexOf("ab", 1) === -1);
|
||||
|
||||
Reference in New Issue
Block a user