summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/splice
diff options
context:
space:
mode:
authorMike Pennisi <mike@mikepennisi.com>2015-06-09 12:08:02 -0400
committerMike Pennisi <mike@mikepennisi.com>2015-06-09 19:44:25 -0400
commit92890e6723b2a605fe78129774d3875e30048ffa (patch)
tree1213e30b5d3ad54e9344a1dba1c69f48de82e34a /test/built-ins/Array/prototype/splice
parent32edc4873e864753a998db42feb45ccb55db847b (diff)
downloadqtdeclarative-testsuites-92890e6723b2a605fe78129774d3875e30048ffa.tar.gz
Remove `$FAIL` function
This function is equivalent to `$ERROR` (which is automatically included in test environments). Remove the harness file that defines the function, remove references to the file from test `includes` lists, and update scripts to instead invoke the `$ERROR` function.
Diffstat (limited to 'test/built-ins/Array/prototype/splice')
-rw-r--r--test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js b/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js
index 2fae02e14..741608e43 100644
--- a/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js
+++ b/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js
@@ -5,12 +5,11 @@
info: The length property of splice does not have the attribute DontDelete
es5id: 15.4.4.12_A5.2
description: Checking use hasOwnProperty, delete
-includes: [$FAIL.js]
---*/
//CHECK#1
if (Array.prototype.splice.hasOwnProperty('length') !== true) {
- $FAIL('#1: Array.prototype.splice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.splice.hasOwnProperty('length')));
+ $ERROR('#1: Array.prototype.splice.hasOwnProperty(\'length\') === true. Actual: ' + (Array.prototype.splice.hasOwnProperty('length')));
}
delete Array.prototype.splice.length;