Debian Codegraph @

js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T8.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: "CharacterEscapeSequnce :: NonEscapeSequence"
6 es5id: 7.8.4_A4.2_T8
7 description: "NonEscapeSequence :: RUSSIAN SMALL ALPHABET"
8 ---*/
9
10 //CHECK#а-я
11
12 if ("а" !== "\а") {
13 throw new Test262Error('#а');
14 }
15
16 if ("б" !== "\б") {
17 throw new Test262Error('#б');
18 }
19
20 if ("в" !== "\в") {
21 throw new Test262Error('#в');
22 }
23
24 if ("г" !== "\г") {
25 throw new Test262Error('#г');
26 }
27
28 if ("д" !== "\д") {
29 throw new Test262Error('#д');
30 }
31
32 if ("е" !== "\е") {
33 throw new Test262Error('#е');
34 }
35
36 if ("ж" !== "\ж") {
37 throw new Test262Error('#ж');
38 }
39
40 if ("з" !== "\з") {
41 throw new Test262Error('#з');
42 }
43
44 if ("и" !== "\и") {
45 throw new Test262Error('#и');
46 }
47
48 if ("й" !== "\й") {
49 throw new Test262Error('#й');
50 }
51
52 if ("к" !== "\к") {
53 throw new Test262Error('#к');
54 }
55
56 if ("л" !== "\л") {
57 throw new Test262Error('#л');
58 }
59
60 if ("м" !== "\м") {
61 throw new Test262Error('#м');
62 }
63
64 if ("н" !== "\н") {
65 throw new Test262Error('#н');
66 }
67
68 if ("о" !== "\о") {
69 throw new Test262Error('#о');
70 }
71
72 if ("п" !== "\п") {
73 throw new Test262Error('#п');
74 }
75
76 if ("р" !== "\р") {
77 throw new Test262Error('#р');
78 }
79
80 if ("с" !== "\с") {
81 throw new Test262Error('#с');
82 }
83
84 if ("т" !== "\т") {
85 throw new Test262Error('#т');
86 }
87
88 if ("у" !== "\у") {
89 throw new Test262Error('#у');
90 }
91
92 if ("ф" !== "\ф") {
93 throw new Test262Error('#ф');
94 }
95
96 if ("х" !== "\х") {
97 throw new Test262Error('#х');
98 }
99
100 if ("ц" !== "\ц") {
101 throw new Test262Error('#ц');
102 }
103
104 if ("ч" !== "\ч") {
105 throw new Test262Error('#ч');
106 }
107
108 if ("ш" !== "\ш") {
109 throw new Test262Error('#ш');
110 }
111
112 if ("щ" !== "\щ") {
113 throw new Test262Error('#щ');
114 }
115
116 if ("ъ" !== "\ъ") {
117 throw new Test262Error('#ъ');
118 }
119
120 if ("ы" !== "\ы") {
121 throw new Test262Error('#ы');
122 }
123
124 if ("ь" !== "\ь") {
125 throw new Test262Error('#ь');
126 }
127
128 if ("э" !== "\э") {
129 throw new Test262Error('#э');
130 }
131
132 if ("ю" !== "\ю") {
133 throw new Test262Error('#ю');
134 }
135
136 if ("я" !== "\я") {
137 throw new Test262Error('#я');
138 }
139
140 if ("ё" !== "\ё") {
141 throw new Test262Error('#ё');
142 }
143
144 reportCompare(0, 0);