summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js')
-rw-r--r--test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js b/test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js
index ad3379461..21de5fc4c 100644
--- a/test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js
+++ b/test/built-ins/String/prototype/charAt/S15.5.4.4_A10.js
@@ -13,19 +13,21 @@ includes: [propertyHelper.js]
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (!(String.prototype.charAt.hasOwnProperty('length'))) {
- $ERROR('#1: String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.charAt.hasOwnProperty('length'));
+ $ERROR('#1: String.prototype.charAt.hasOwnProperty(\'length\') return true. Actual: ' + String.prototype.charAt.hasOwnProperty('length'));
}
//
//////////////////////////////////////////////////////////////////////////////
var __obj = String.prototype.charAt.length;
-verifyNotWritable(String.prototype.charAt, "length", null, function(){return "shifted";});
+verifyNotWritable(String.prototype.charAt, "length", null, function() {
+ return "shifted";
+});
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (String.prototype.charAt.length !== __obj) {
- $ERROR('#2: __obj = String.prototype.charAt.length; String.prototype.charAt.length = function(){return "shifted";}; String.prototype.charAt.length === __obj. Actual: '+String.prototype.charAt.length );
+ $ERROR('#2: __obj = String.prototype.charAt.length; String.prototype.charAt.length = function(){return "shifted";}; String.prototype.charAt.length === __obj. Actual: ' + String.prototype.charAt.length);
}
//
//////////////////////////////////////////////////////////////////////////////