summaryrefslogtreecommitdiff
path: root/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js')
-rw-r--r--test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
index 9ea59653d..482e089d5 100644
--- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
+++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js
@@ -514,10 +514,16 @@ if (i62.replace(/\s+/g, "") !== o62) {
}
var i63 = "";
-for (var j = 64512; j < 65536; j++)
+for (var j = 64512; j < 65536; j++) {
+ if (j===65279) { continue;} //Ignore BOM
i63 += String.fromCharCode(j);
+}
var o63 = i63;
if (i63.replace(/\s+/g, "") !== o63) {
$ERROR("#63: Error matching character class \s between character fc00 and ffff");
}
+var i64 = String.fromCharCode(65279);
+if (i64.replace(/\s/g, "") !== "") {
+ $ERROR("#64: Error matching character class \s for BOM (feff)");
+} \ No newline at end of file