Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / RegExp / S15.10.2.7_A3_T4.js
blob31a6563c491f0fd6a6eb0fbcccd4165af340c5a7
1 // Copyright 2009 the Sputnik authors.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 info: |
6     The production QuantifierPrefix :: + evaluates by returning the two
7     results 1 and \infty
8 es5id: 15.10.2.7_A3_T4
9 description: Execute /\s+java\s+/.test("java\n\nobject") and check results
10 ---*/
12 var __executed = /\s+java\s+/.test("java\n\nobject");
14 assert(!__executed, 'The value of !__executed is expected to be true');
16 reportCompare(0, 0);