Index: test/webkit/class-syntax-declaration-expected.txt |
diff --git a/test/webkit/class-syntax-declaration-expected.txt b/test/webkit/class-syntax-declaration-expected.txt |
index f1466c511455d8bd78df352af641a383772dd0cb..a424edfe9038240d0569b97a46b155b12380853f 100644 |
--- a/test/webkit/class-syntax-declaration-expected.txt |
+++ b/test/webkit/class-syntax-declaration-expected.txt |
@@ -32,12 +32,12 @@ PASS class X { constructor() {} static set prototype() {} } threw exception Synt |
PASS class X { constructor() {} prototype() { return instanceMethodValue; } } did not throw exception. |
PASS class X { constructor() {} prototype() { return instanceMethodValue; } }; (new X).prototype() is instanceMethodValue |
PASS class X { constructor() {} set foo(a) {} } did not throw exception. |
-FAIL class X { constructor() {} set foo({x, y}) {} } should not throw exception. Threw exception SyntaxError: Unexpected token {. |
+PASS class X { constructor() {} set foo({x, y}) {} } did not throw exception. |
PASS class X { constructor() {} set foo() {} } threw exception SyntaxError: Setter must have exactly one formal parameter.. |
PASS class X { constructor() {} set foo(a, b) {} } threw exception SyntaxError: Setter must have exactly one formal parameter.. |
PASS class X { constructor() {} get foo() {} } did not throw exception. |
PASS class X { constructor() {} get foo(x) {} } threw exception SyntaxError: Getter must not have any formal parameters.. |
-PASS class X { constructor() {} get foo({x, y}) {} } threw exception SyntaxError: Unexpected token {. |
+PASS class X { constructor() {} get foo({x, y}) {} } threw exception SyntaxError: Getter must not have any formal parameters.. |
PASS successfullyParsed is true |
TEST COMPLETE |