summaryrefslogtreecommitdiff
path: root/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/parseInt/S15.1.2.2_A2_T10.js')
-rw-r--r--test/built-ins/parseInt/S15.1.2.2_A2_T10.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/parseInt/S15.1.2.2_A2_T10.js b/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
index 359035302..7d4c6c7aa 100644
--- a/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
+++ b/test/built-ins/parseInt/S15.1.2.2_A2_T10.js
@@ -20,20 +20,20 @@ for (var index = 0; index < uspU.length; index++) {
var result = true;
n = false;
if (parseInt(uspU[index] + "1") !== parseInt("1")) {
- $ERROR('#1.' + uspS[index] + ' ');
+ $ERROR('#1.' + uspS[index] + ' ');
result = false;
}
- if (parseInt(uspU[index] + uspU[index] + uspU[index] + "1") !== parseInt("1")) {
- $ERROR('#2.' + uspS[index] + ' ');
+ if (parseInt(uspU[index] + uspU[index] + uspU[index] + "1") !== parseInt("1")) {
+ $ERROR('#2.' + uspS[index] + ' ');
result = false;
}
n = parseInt(uspU[index]);
if (!(n !== n)) {
- $ERROR('#3.' + uspS[index] + ' ');
+ $ERROR('#3.' + uspS[index] + ' ');
result = false;
}
if (result !== true) {
- errorCount++;
+ errorCount++;
}
count++;
}