diff options
Diffstat (limited to 'deps/v8/test/webkit/class-syntax-declaration-expected.txt')
-rw-r--r-- | deps/v8/test/webkit/class-syntax-declaration-expected.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/webkit/class-syntax-declaration-expected.txt b/deps/v8/test/webkit/class-syntax-declaration-expected.txt index c198f26914..4a9e60978a 100644 --- a/deps/v8/test/webkit/class-syntax-declaration-expected.txt +++ b/deps/v8/test/webkit/class-syntax-declaration-expected.txt @@ -16,10 +16,10 @@ PASS setterValue = undefined; (new A).someSetter = 789; setterValue is 789 PASS (new A).__proto__ is A.prototype PASS A.prototype.constructor is A PASS class threw exception SyntaxError: Unexpected end of input. -PASS class [ threw exception SyntaxError: Unexpected token [. -PASS class { threw exception SyntaxError: Unexpected token {. +PASS class [ threw exception SyntaxError: Unexpected token '['. +PASS class { threw exception SyntaxError: Unexpected token '{'. PASS class X { threw exception SyntaxError: Unexpected end of input. -PASS class X { ( } threw exception SyntaxError: Unexpected token (. +PASS class X { ( } threw exception SyntaxError: Unexpected token '('. PASS class X {} did not throw exception. PASS class X { constructor() {} constructor() {} } threw exception SyntaxError: A class may only have one constructor. PASS class X { get constructor() {} } threw exception SyntaxError: Class constructor may not be an accessor. |