diff options
author | Mike Pennisi <mike@mikepennisi.com> | 2015-06-09 12:08:02 -0400 |
---|---|---|
committer | Mike Pennisi <mike@mikepennisi.com> | 2015-06-09 19:44:25 -0400 |
commit | 92890e6723b2a605fe78129774d3875e30048ffa (patch) | |
tree | 1213e30b5d3ad54e9344a1dba1c69f48de82e34a /test/built-ins/Array/prototype/splice | |
parent | 32edc4873e864753a998db42feb45ccb55db847b (diff) | |
download | qtdeclarative-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.js | 3 |
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; |