diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:39:13 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:39:13 -0500 |
commit | 19ca734beaea75fc61e296f78450354ff0dff7e9 (patch) | |
tree | 151310b950d46e9843df6f98d21fcc89f8ceca9b /test/built-ins/String/fromCharCode/S9.7_A1.js | |
parent | af37c92af7691eaf4769eb1f5f44f92a4a883426 (diff) | |
download | qtdeclarative-testsuites-19ca734beaea75fc61e296f78450354ff0dff7e9.tar.gz |
built-ins/String/*: make all indentation consistent (depth & character) (#1430)
Diffstat (limited to 'test/built-ins/String/fromCharCode/S9.7_A1.js')
-rw-r--r-- | test/built-ins/String/fromCharCode/S9.7_A1.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/String/fromCharCode/S9.7_A1.js b/test/built-ins/String/fromCharCode/S9.7_A1.js index 513c563a5..935d50a57 100644 --- a/test/built-ins/String/fromCharCode/S9.7_A1.js +++ b/test/built-ins/String/fromCharCode/S9.7_A1.js @@ -12,41 +12,41 @@ description: > // CHECK#1 if (String.fromCharCode(Number.NaN).charCodeAt(0) !== +0) { $ERROR('#1.1: String.fromCharCode(Number.NaN).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.NaN).charCodeAt(0))); -} else if (1/String.fromCharCode(Number.NaN).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(Number.NaN).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR('#1.2: String.fromCharCode(Number.NaN).charCodeAt(0) === +0. Actual: -0'); } // CHECK#2 if (String.fromCharCode(Number("abc")).charCodeAt(0) !== +0) { $ERROR('#2.1: String.fromCharCode(Number("abc")).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number("abc")).charCodeAt(0))); -} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR('#2.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); } // CHECK#3 if (String.fromCharCode(0).charCodeAt(0) !== +0) { $ERROR('#3.1: String.fromCharCode(0).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(0).charCodeAt(0))); -} else if (1/String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR('#3.2: String.fromCharCode(0).charCodeAt(0) === +0. Actual: -0'); } // CHECK#4 if (String.fromCharCode(-0).charCodeAt(0) !== +0) { $ERROR("#4.1: String.fromCharCode(-0).charCodeAt(0) === +0"); -} else if (1/String.fromCharCode(-0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(-0).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR("#4.2: String.fromCharCode(-0).charCodeAt(0) === +0. Actual: -0"); } // CHECK#5 if (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== +0) { $ERROR('#5.1: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === 0. Actual: ' + (String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0))); -} else if (1/String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR('#5.2: String.fromCharCode(Number.POSITIVE_INFINITY).charCodeAt(0) === +0. Actual: -0'); } // CHECK#6 if (String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== +0) { $ERROR("#6.1: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0"); -} else if (1/String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { +} else if (1 / String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) !== Number.POSITIVE_INFINITY) { $ERROR("#6.2: String.fromCharCode(Number.NEGATIVE_INFINITY).charCodeAt(0) === +0. Actual: -0"); } |