mirror of https://github.com/tc39/test262.git
19 lines
613 B
JavaScript
19 lines
613 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 15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.6_Assertion/S15.10.2.6_A1_T1.js
|
||
|
* @description Execute /s$/.test("pairs\nmakes\tdouble") and check results
|
||
|
*/
|
||
|
|
||
|
__executed = /s$/.test("pairs\nmakes\tdouble");
|
||
|
|
||
|
//CHECK#1
|
||
|
if (__executed) {
|
||
|
$ERROR('#1: /s$/.test("pairs\\nmakes\\tdouble") === false');
|
||
|
}
|
||
|
|
||
|
|