| 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: NonEscapeSequence is not EscapeCharacter |
| 6 |
es5id: 7.8.4_A4.3_T7 |
| 7 |
description: "EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v" |
| 8 |
---*/ |
| 9 |
|
| 10 |
//CHECK#bfnrtv |
| 11 |
if ("b" === "\b") { |
| 12 |
$ERROR('#b'); |
| 13 |
} |
| 14 |
|
| 15 |
if ("f" === "\f") { |
| 16 |
$ERROR('#f'); |
| 17 |
} |
| 18 |
|
| 19 |
if ("n" === "\n") { |
| 20 |
$ERROR('#n'); |
| 21 |
} |
| 22 |
|
| 23 |
if ("r" === "\r") { |
| 24 |
$ERROR('#r'); |
| 25 |
} |
| 26 |
|
| 27 |
if ("t" === "\t") { |
| 28 |
$ERROR('#t'); |
| 29 |
} |
| 30 |
|
| 31 |
if ("v" === "\v") { |
| 32 |
$ERROR('#v'); |
| 33 |
} |