summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js
blob: 06393034299a2dfdc9a9a1131b251980be621c81 (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
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * NonEscapeSequence is not EscapeCharacter
 *
 * @path ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js
 * @description EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v
 */

//CHECK#bfnrtv
if ("b" === "\b") {
  $ERROR('#b');
}

if ("f" === "\f") {
  $ERROR('#f');
}

if ("n" === "\n") {
  $ERROR('#n');
}

if ("r" === "\r") {
  $ERROR('#r');
}

if ("t" === "\t") {
  $ERROR('#t');
}

if ("v" === "\v") {
  $ERROR('#v');
}