summaryrefslogtreecommitdiff
path: root/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
diff options
context:
space:
mode:
authorLyza Danger Gardner <lyza@lyza.com>2017-06-29 15:42:11 -0400
committerLyza Danger Gardner <lyza@lyza.com>2017-06-29 15:42:11 -0400
commitdfad507eea5d4c85f83d37b53dc194d1d9327489 (patch)
tree596e3d5106fe893e9dc03df738568baf57f3276e /test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
parent5e59ccefdf828d54d3fee4bc733330725ef6a4cc (diff)
downloadqtdeclarative-testsuites-dfad507eea5d4c85f83d37b53dc194d1d9327489.tar.gz
Remove trailing whitespace
Diffstat (limited to 'test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js')
-rw-r--r--test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js b/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
index f63d7e3bd..7bf8b8778 100644
--- a/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
+++ b/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
@@ -19,31 +19,31 @@ var indexP;
var indexO = 0;
for (var index = 0xF0; index <= 0xF7; index++) {
- count++;
+ count++;
var hex = decimalToPercentHexString(index);
try {
decodeURIComponent(hex + "%A0111%A0");
- } catch (e) {
- if ((e instanceof URIError) === true) continue;
+ } catch (e) {
+ if ((e instanceof URIError) === true) continue;
}
- if (indexO === 0) {
+ if (indexO === 0) {
indexO = index;
} else {
- if ((index - indexP) !== 1) {
+ if ((index - indexP) !== 1) {
if ((indexP - indexO) !== 0) {
var hexP = decimalToHexString(indexP);
var hexO = decimalToHexString(indexO);
$ERROR('#' + hexO + '-' + hexP + ' ');
- }
+ }
else {
var hexP = decimalToHexString(indexP);
$ERROR('#' + hexP + ' ');
- }
+ }
indexO = index;
- }
+ }
}
indexP = index;
- errorCount++;
+ errorCount++;
}
if (errorCount > 0) {
@@ -54,6 +54,6 @@ if (errorCount > 0) {
} else {
var hexP = decimalToHexString(indexP);
$ERROR('#' + hexP + ' ');
- }
+ }
$ERROR('Total error: ' + errorCount + ' bad Unicode character in ' + count + ' ');
}