summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js
blob: e1680f78157959669a70e9d918a2c55e3668cc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// 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_T2
description: "NonEscapeSequence :: ENGLISH CAPITAL ALPHABET"
---*/

//CHECK#A-Z
if ("A" !== "\A") {
  throw new Test262Error('#A');
}

if ("B" !== "\B") {
  throw new Test262Error('#B');
}

if ("C" !== "\C") {
  throw new Test262Error('#C');
}

if ("D" !== "\D") {
  throw new Test262Error('#D');
}

if ("E" !== "\E") {
  throw new Test262Error('#E');
}

if ("F" !== "\F") {
  throw new Test262Error('#F');
}

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 ("N" !== "\N") {
  throw new Test262Error('#N');
}

if ("O" !== "\O") {
  throw new Test262Error('#O');
}

if ("P" !== "\P") {
  throw new Test262Error('#P');
}

if ("Q" !== "\Q") {
  throw new Test262Error('#Q');
}

if ("R" !== "\R") {
  throw new Test262Error('#R');
}

if ("S" !== "\S") {
  throw new Test262Error('#S');
}

if ("T" !== "\T") {
  throw new Test262Error('#T');
}

if ("U" !== "\U") {
  throw new Test262Error('#U');
}

if ("V" !== "\V") {
  throw new Test262Error('#V');
}

if ("W" !== "\W") {
  throw new Test262Error('#W');
}

if ("X" !== "\X") {
  throw new Test262Error('#X');
}

if ("Y" !== "\Y") {
  throw new Test262Error('#Y');
}

if ("Z" !== "\Z") {
  throw new Test262Error('#Z');
}

reportCompare(0, 0);