From e847f90a1734ca219e57baf8cc7e0c8df0fd48e3 Mon Sep 17 00:00:00 2001 From: sosukesuzuki Date: Fri, 9 Apr 2021 20:45:45 +0900 Subject: [PATCH] Update snapshots --- .../babel-cli/test/fixtures/babel/stdin --filename/stderr.txt | 2 +- .../test/fixtures/transformation/errors/syntax/options.json | 2 +- .../spec/super-illegal-non-constructor-call/options.json | 2 +- .../test/fixtures/top-level-await/unsupported/options.json | 2 +- .../test/fixtures/flow-compat/js-invalid/options.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/babel-cli/test/fixtures/babel/stdin --filename/stderr.txt b/packages/babel-cli/test/fixtures/babel/stdin --filename/stderr.txt index a2d342315741..8087b6e97852 100644 --- a/packages/babel-cli/test/fixtures/babel/stdin --filename/stderr.txt +++ b/packages/babel-cli/test/fixtures/babel/stdin --filename/stderr.txt @@ -1 +1 @@ -SyntaxError: /test.js: Missing semicolon (2:10) +SyntaxError: /test.js: Missing semicolon. (2:10) diff --git a/packages/babel-core/test/fixtures/transformation/errors/syntax/options.json b/packages/babel-core/test/fixtures/transformation/errors/syntax/options.json index 937e44f2f467..f0cca2940fdc 100644 --- a/packages/babel-core/test/fixtures/transformation/errors/syntax/options.json +++ b/packages/babel-core/test/fixtures/transformation/errors/syntax/options.json @@ -1,3 +1,3 @@ { - "throws": "Missing semicolon (2:10)" + "throws": "Missing semicolon. (2:10)" } diff --git a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json index 84442f571d97..6379176c7160 100644 --- a/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json +++ b/packages/babel-plugin-transform-classes/test/fixtures/spec/super-illegal-non-constructor-call/options.json @@ -1,3 +1,3 @@ { - "throws": "super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?" + "throws": "`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?" } diff --git a/packages/babel-preset-env/test/fixtures/top-level-await/unsupported/options.json b/packages/babel-preset-env/test/fixtures/top-level-await/unsupported/options.json index e79b0ad1b184..20761c305c91 100644 --- a/packages/babel-preset-env/test/fixtures/top-level-await/unsupported/options.json +++ b/packages/babel-preset-env/test/fixtures/top-level-await/unsupported/options.json @@ -6,5 +6,5 @@ "supportsTopLevelAwait": false }, "presets": ["env"], - "throws": "Unexpected reserved word 'await' (1:0)" + "throws": "Unexpected reserved word 'await'. (1:0)" } diff --git a/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json b/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json index fe0ad873dac4..285bd0c11662 100644 --- a/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json +++ b/packages/babel-preset-typescript/test/fixtures/flow-compat/js-invalid/options.json @@ -1,4 +1,4 @@ { "presets": [["flow", {}, "before"], "typescript", ["flow", {}, "after"]], - "throws": "Unexpected reserved word 'enum' (1:0)" + "throws": "Unexpected reserved word 'enum'. (1:0)" }