tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

S15.10.2.6_A2_T7.js (525B)


      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 :: ^ evaluates by returning an internal
      7    AssertionTester closure that takes a State argument x and performs the ...
      8 es5id: 15.10.2.6_A2_T7
      9 description: Execute /^..^e/.test("ab\ncde") and check results
     10 ---*/
     11 
     12 var __executed = /^..^e/.test("ab\ncde");
     13 
     14 assert(!__executed, 'The value of !__executed is expected to be true');
     15 
     16 reportCompare(0, 0);