From e7619cebbd735760d1ccb3399d2f76092e5805f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Sat, 11 Jan 2020 09:46:46 -0500 Subject: [PATCH] chore: update test fixtures --- .../invalid-destructuring-arguments/output.json | 2 +- .../class-private-properties/invalid-destructuring/output.json | 2 +- .../class-private-properties/invalid-object-method/output.json | 2 +- .../invalid-ts-type-literal/output.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring-arguments/output.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring-arguments/output.json index 1f3ff18a1ad3..fa7d3d75cbb7 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring-arguments/output.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring-arguments/output.json @@ -13,7 +13,7 @@ } }, "errors": [ - "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42 #m() {} } )\n or property of member expression (i.e. this.#p). (3:11)" + "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42; #m() {} } )\n or property of member expression (i.e. this.#p). (3:11)" ], "program": { "type": "Program", diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring/output.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring/output.json index 3f122605f601..e179ce4b9755 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring/output.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-destructuring/output.json @@ -13,7 +13,7 @@ } }, "errors": [ - "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42 #m() {} } )\n or property of member expression (i.e. this.#p). (4:12)" + "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42; #m() {} } )\n or property of member expression (i.e. this.#p). (4:12)" ], "program": { "type": "Program", diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-object-method/output.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-object-method/output.json index ca1e59d2e100..7155638a512a 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-object-method/output.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-object-method/output.json @@ -13,7 +13,7 @@ } }, "errors": [ - "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42 #m() {} } )\n or property of member expression (i.e. this.#p). (2:11)" + "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42; #m() {} } )\n or property of member expression (i.e. this.#p). (2:11)" ], "program": { "type": "Program", diff --git a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-ts-type-literal/output.json b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-ts-type-literal/output.json index 745fa8b29953..9e42a92de0a9 100644 --- a/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-ts-type-literal/output.json +++ b/packages/babel-parser/test/fixtures/experimental/class-private-properties/invalid-ts-type-literal/output.json @@ -13,7 +13,7 @@ } }, "errors": [ - "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42 #m() {} } )\n or property of member expression (i.e. this.#p). (2:3)" + "SyntaxError: Private name can only be used as name of class element (i.e. class C { #p = 42; #m() {} } )\n or property of member expression (i.e. this.#p). (2:3)" ], "program": { "type": "Program",