summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-09 11:35:37 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-09 11:35:37 -0500
commita01de4a722d088055a7d84d8c691ddd7109edb34 (patch)
treef583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js
parent7b01f9799f99851955f23c18c12e6651c1941022 (diff)
downloadqtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js')
-rw-r--r--test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js
index 547304029..1013fba88 100644
--- a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js
+++ b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T2.js
@@ -13,24 +13,24 @@ __instance.charCodeAt = String.prototype.charCodeAt;
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
-if (__instance.charCodeAt(false)!==0x66) {
- $ERROR('#1: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false)===0x66. Actual: '+__instance.charCodeAt(false));
+if (__instance.charCodeAt(false) !== 0x66) {
+ $ERROR('#1: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false)===0x66. Actual: ' + __instance.charCodeAt(false));
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
-if (__instance.charCodeAt(true)!==0x61) {
- $ERROR('#2: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true)===0x61. Actual: '+__instance.charCodeAt(true));
+if (__instance.charCodeAt(true) !== 0x61) {
+ $ERROR('#2: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true)===0x61. Actual: ' + __instance.charCodeAt(true));
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
-if (__instance.charCodeAt(true+1) !== 0x6C) {
- $ERROR('#3: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true+1) === 0x6C. Actual: '+__instance.charCodeAt(true+1) );
+if (__instance.charCodeAt(true + 1) !== 0x6C) {
+ $ERROR('#3: __instance = new Boolean; __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(true+1) === 0x6C. Actual: ' + __instance.charCodeAt(true + 1));
}
//
//////////////////////////////////////////////////////////////////////////////