1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 info: RegExp syntax errors must be caught when matcher(s) compiles
7 description: Tested RegExp is "**a"
11 throw new Test262Error('#1.1: new RegExp("**a") throw SyntaxError. Actual: ' + (new RegExp("**a")));
14 e instanceof SyntaxError,
16 'The result of evaluating (e instanceof SyntaxError) is expected to be true'
20 // TODO: Convert to assert.throws() format.