diff options
Diffstat (limited to 'test/built-ins/String/prototype/concat/S15.5.4.6_A8.js')
-rw-r--r-- | test/built-ins/String/prototype/concat/S15.5.4.6_A8.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/String/prototype/concat/S15.5.4.6_A8.js b/test/built-ins/String/prototype/concat/S15.5.4.6_A8.js index 51e74575b..c8613d934 100644 --- a/test/built-ins/String/prototype/concat/S15.5.4.6_A8.js +++ b/test/built-ins/String/prototype/concat/S15.5.4.6_A8.js @@ -12,7 +12,7 @@ description: > ////////////////////////////////////////////////////////////////////////////// //CHECK#0 if (!(String.prototype.concat.hasOwnProperty('length'))) { - $ERROR('#0: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.concat.hasOwnProperty('length')); + $ERROR('#0: String.prototype.concat.hasOwnProperty(\'length\') return true. Actual: ' + String.prototype.concat.hasOwnProperty('length')); } // ////////////////////////////////////////////////////////////////////////////// @@ -21,7 +21,7 @@ if (!(String.prototype.concat.hasOwnProperty('length'))) { ////////////////////////////////////////////////////////////////////////////// // CHECK#1 if (String.prototype.concat.propertyIsEnumerable('length')) { - $ERROR('#1: String.prototype.concat.propertyIsEnumerable(\'length\') return false. Actual: '+String.prototype.concat.propertyIsEnumerable('length')); + $ERROR('#1: String.prototype.concat.propertyIsEnumerable(\'length\') return false. Actual: ' + String.prototype.concat.propertyIsEnumerable('length')); } // ////////////////////////////////////////////////////////////////////////////// @@ -30,12 +30,12 @@ if (String.prototype.concat.propertyIsEnumerable('length')) { // CHECK#2 var count = 0; -for (var p in String.prototype.concat){ - if (p==="length") count++; +for (var p in String.prototype.concat) { + if (p === "length") count++; } if (count !== 0) { - $ERROR('#2: count = 0; for (p in String.prototype.concat){ if (p==="length") count++;}; count === 0. Actual: '+count); + $ERROR('#2: count = 0; for (p in String.prototype.concat){ if (p==="length") count++;}; count === 0. Actual: ' + count); } // ////////////////////////////////////////////////////////////////////////////// |