summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js')
-rw-r--r--test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js b/test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js
index 0681d09cf..779e3d2b0 100644
--- a/test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js
+++ b/test/built-ins/String/prototype/toLowerCase/S15.5.4.16_A8.js
@@ -14,7 +14,7 @@ description: >
//////////////////////////////////////////////////////////////////////////////
//CHECK#0
if (!(String.prototype.toLowerCase.hasOwnProperty('length'))) {
- $ERROR('#0: String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: ' + String.prototype.toLowerCase.hasOwnProperty('length'));
+ $ERROR('#0: String.prototype.toLowerCase.hasOwnProperty(\'length\') return true. Actual: '+String.prototype.toLowerCase.hasOwnProperty('length'));
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -30,14 +30,14 @@ if (String.prototype.toLowerCase.propertyIsEnumerable('length')) {
//////////////////////////////////////////////////////////////////////////////
// CHECK#2
-var count = 0;
+var count=0;
-for (var p in String.prototype.toLowerCase) {
- if (p === "length") count++;
+for (var p in String.prototype.toLowerCase){
+ if (p==="length") count++;
}
if (count !== 0) {
- $ERROR('#2: count=0; for (p in String.prototype.toLowerCase){if (p==="length") count++;}; count === 0. Actual: ' + count);
+ $ERROR('#2: count=0; for (p in String.prototype.toLowerCase){if (p==="length") count++;}; count === 0. Actual: '+count );
}
//
//////////////////////////////////////////////////////////////////////////////