diff options
Diffstat (limited to 'js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js')
-rw-r--r-- | js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js b/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js new file mode 100644 index 0000000000..e1680f7815 --- /dev/null +++ b/js/src/tests/test262/language/literals/string/S7.8.4_A4.2_T2.js @@ -0,0 +1,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); |