summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js')
-rw-r--r--js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js85
1 files changed, 85 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js b/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js
new file mode 100644
index 0000000000..6c40a47570
--- /dev/null
+++ b/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T4.js
@@ -0,0 +1,85 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: "CharacterEscapeSequnce :: NonEscapeSequence"
+es5id: 7.8.4_A4.2_T4
+description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET"
+---*/
+
+//CHECK#a-z without b, f, n, r, t, v, x, u
+
+if ("a" !== "\a") {
+ throw new Test262Error('#a');
+}
+
+if ("c" !== "\c") {
+ throw new Test262Error('#c');
+}
+
+if ("d" !== "\d") {
+ throw new Test262Error('#d');
+}
+
+if ("e" !== "\e") {
+ throw new Test262Error('#e');
+}
+
+if ("g" !== "\g") {
+ throw new Test262Error('#g');
+}
+
+if ("h" !== "\h") {
+ throw new Test262Error('#h');
+}
+
+if ("i" !== "\i") {
+ throw new Test262Error('#i');
+}
+
+if ("j" !== "\j") {
+ throw new Test262Error('#j');
+}
+
+if ("k" !== "\k") {
+ throw new Test262Error('#k');
+}
+
+if ("l" !== "\l") {
+ throw new Test262Error('#l');
+}
+
+if ("m" !== "\m") {
+ throw new Test262Error('#m');
+}
+
+
+if ("o" !== "\o") {
+ throw new Test262Error('#o');
+}
+
+if ("p" !== "\p") {
+ throw new Test262Error('#p');
+}
+
+if ("q" !== "\q") {
+ throw new Test262Error('#q');
+}
+
+if ("s" !== "\s") {
+ throw new Test262Error('#s');
+}
+
+if ("w" !== "\w") {
+ throw new Test262Error('#w');
+}
+
+if ("y" !== "\y") {
+ throw new Test262Error('#y');
+}
+
+if ("z" !== "\z") {
+ throw new Test262Error('#z');
+}
+
+reportCompare(0, 0);