S7.8.4_A4.2_T4.js (1334B)
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_T4 7 description: "NonEscapeSequence :: ENGLISH SMALL ALPHABET" 8 ---*/ 9 10 //CHECK#a-z without b, f, n, r, t, v, x, u 11 12 if ("a" !== "\a") { 13 throw new Test262Error('#a'); 14 } 15 16 if ("c" !== "\c") { 17 throw new Test262Error('#c'); 18 } 19 20 if ("d" !== "\d") { 21 throw new Test262Error('#d'); 22 } 23 24 if ("e" !== "\e") { 25 throw new Test262Error('#e'); 26 } 27 28 if ("g" !== "\g") { 29 throw new Test262Error('#g'); 30 } 31 32 if ("h" !== "\h") { 33 throw new Test262Error('#h'); 34 } 35 36 if ("i" !== "\i") { 37 throw new Test262Error('#i'); 38 } 39 40 if ("j" !== "\j") { 41 throw new Test262Error('#j'); 42 } 43 44 if ("k" !== "\k") { 45 throw new Test262Error('#k'); 46 } 47 48 if ("l" !== "\l") { 49 throw new Test262Error('#l'); 50 } 51 52 if ("m" !== "\m") { 53 throw new Test262Error('#m'); 54 } 55 56 57 if ("o" !== "\o") { 58 throw new Test262Error('#o'); 59 } 60 61 if ("p" !== "\p") { 62 throw new Test262Error('#p'); 63 } 64 65 if ("q" !== "\q") { 66 throw new Test262Error('#q'); 67 } 68 69 if ("s" !== "\s") { 70 throw new Test262Error('#s'); 71 } 72 73 if ("w" !== "\w") { 74 throw new Test262Error('#w'); 75 } 76 77 if ("y" !== "\y") { 78 throw new Test262Error('#y'); 79 } 80 81 if ("z" !== "\z") { 82 throw new Test262Error('#z'); 83 } 84 85 reportCompare(0, 0);