From 2c2e3ec1ca47803f791ea72ea6247d8eedf87ec8 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 7 Sep 2021 10:39:32 -0400 Subject: refactor(lsp): use deno_ast and cache swc ASTs (#11780) --- cli/tests/testdata/error_syntax.js.out | 2 +- cli/tests/testdata/error_syntax_empty_trailing_line.mjs.out | 2 +- cli/tests/testdata/swc_syntax_error.ts.out | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/testdata') diff --git a/cli/tests/testdata/error_syntax.js.out b/cli/tests/testdata/error_syntax.js.out index 4c2a007f1..84f924f8f 100644 --- a/cli/tests/testdata/error_syntax.js.out +++ b/cli/tests/testdata/error_syntax.js.out @@ -1 +1 @@ -error: Expected ,, got following at [WILDCARD]/error_syntax.js:3:5 +error: Expected ,, got following at [WILDCARD]/error_syntax.js:3:6 diff --git a/cli/tests/testdata/error_syntax_empty_trailing_line.mjs.out b/cli/tests/testdata/error_syntax_empty_trailing_line.mjs.out index daa37818d..8b4feeb49 100644 --- a/cli/tests/testdata/error_syntax_empty_trailing_line.mjs.out +++ b/cli/tests/testdata/error_syntax_empty_trailing_line.mjs.out @@ -1 +1 @@ -error: Unexpected eof at [WILDCARD]/error_syntax_empty_trailing_line.mjs:2:21 +error: Unexpected eof at [WILDCARD]/error_syntax_empty_trailing_line.mjs:2:22 diff --git a/cli/tests/testdata/swc_syntax_error.ts.out b/cli/tests/testdata/swc_syntax_error.ts.out index 53ed29cb6..98a753459 100644 --- a/cli/tests/testdata/swc_syntax_error.ts.out +++ b/cli/tests/testdata/swc_syntax_error.ts.out @@ -1 +1 @@ -error: Unexpected token `}`. Expected an identifier, void, yield, null, await, break, a string literal, a numeric literal, true, false, `, -, import, this, typeof, {, [, ( at [WILDCARD]syntax_error.ts:4:0 +error: Unexpected token `}`. Expected an identifier, void, yield, null, await, break, a string literal, a numeric literal, true, false, `, -, import, this, typeof, {, [, ( at [WILDCARD]syntax_error.ts:4:1 -- cgit v1.2.3