test262/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js

19 lines
565 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The production Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ...
*
* @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js
* @description Execute /^m/.test("pairs\nmakes\tdouble") and check results
*/
__executed = /^m/.test("pairs\nmakes\tdouble");
//CHECK#1
if (__executed) {
$ERROR('#1: /^m/.test("pairs\\nmakes\\tdouble") === false');
}