Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/RegExp/S15.10.2.6_A3_T9.js

raw
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: |
6 The production Assertion :: \b evaluates by returning an internal
7 AssertionTester closure that takes a State argument x and performs the ...
8 es5id: 15.10.2.6_A3_T9
9 description: >
10 Execute /r\b/.exec("pilot\nsoviet robot\topenoffice") and check
11 results
12 ---*/
13
14 var __executed = /r\b/.test("pilot\nsoviet robot\topenoffice");
15
16 //CHECK#1
17 if (__executed) {
18 $ERROR('#1: /r\\b/.test("pilot\\nsoviet robot\\topenoffice") === false');
19 }