1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 If P's characters do not have the form Pattern, then throw a SyntaxError
9 description: Pattern is "[a--z]"
13 throw new Test262Error('#1.1: new RegExp("[a--z]") throw SyntaxError. Actual: ' + (new RegExp("[a--z]")));
16 e instanceof SyntaxError,
18 'The result of evaluating (e instanceof SyntaxError) is expected to be true'
22 // TODO: Convert to assert.throws() format.