summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js')
-rw-r--r--js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js88
1 files changed, 88 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js b/js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js
new file mode 100644
index 0000000000..a24c4f4d8e
--- /dev/null
+++ b/js/src/tests/test262/language/identifiers/vals-eng-alpha-lower-via-escape-hex.js
@@ -0,0 +1,88 @@
+// Copyright (C) 2015 the V8 project authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: Correct interpretation of ENGLISH ALPHABET
+es6id: 11.6
+description: Check ENGLISH SMALL ALPHABET
+---*/
+
+var \u{61} = 1;
+assert.sameValue(a, 1);
+
+var \u{62} = 1;
+assert.sameValue(b, 1);
+
+var \u{63} = 1;
+assert.sameValue(c, 1);
+
+var \u{64} = 1;
+assert.sameValue(d, 1);
+
+var \u{65} = 1;
+assert.sameValue(e, 1);
+
+var \u{66} = 1;
+assert.sameValue(f, 1);
+
+var \u{67} = 1;
+assert.sameValue(g, 1);
+
+var \u{68} = 1;
+assert.sameValue(h, 1);
+
+var \u{69} = 1;
+assert.sameValue(i, 1);
+
+var \u{6A} = 1;
+assert.sameValue(j, 1);
+
+var \u{6B} = 1;
+assert.sameValue(k, 1);
+
+var \u{6C} = 1;
+assert.sameValue(l, 1);
+
+var \u{6D} = 1;
+assert.sameValue(m, 1);
+
+var \u{6E} = 1;
+assert.sameValue(n, 1);
+
+var \u{6F} = 1;
+assert.sameValue(o, 1);
+
+var \u{70} = 1;
+assert.sameValue(p, 1);
+
+var \u{71} = 1;
+assert.sameValue(q, 1);
+
+var \u{72} = 1;
+assert.sameValue(r, 1);
+
+var \u{73} = 1;
+assert.sameValue(s, 1);
+
+var \u{74} = 1;
+assert.sameValue(t, 1);
+
+var \u{75} = 1;
+assert.sameValue(u, 1);
+
+var \u{76} = 1;
+assert.sameValue(v, 1);
+
+var \u{77} = 1;
+assert.sameValue(w, 1);
+
+var \u{78} = 1;
+assert.sameValue(x, 1);
+
+var \u{79} = 1;
+assert.sameValue(y, 1);
+
+var \u{7A} = 1;
+assert.sameValue(z, 1);
+
+reportCompare(0, 0);