diff options
Diffstat (limited to 'js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js')
-rw-r--r-- | js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js b/js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js new file mode 100644 index 000000000..063930342 --- /dev/null +++ b/js/src/tests/test262/ch07/7.8/7.8.4/S7.8.4_A4.3_T7.js @@ -0,0 +1,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'); +} + + |