Skip to content

Commit 482a8a4

Browse files
committed
tests
1 parent 1327371 commit 482a8a4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe("index.ts exports", () => {
66
const sortedExports = Object.keys(exports).sort();
77
expect(sortedExports).toMatchInlineSnapshot(`
88
[
9-
"SqlParser",
9+
"NodeSqlParser",
1010
"SqlStructureAnalyzer",
1111
"cteCompletionSource",
1212
"sqlExtension",

src/sql/diagnostics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function sqlLinter(config: SqlLinterConfig = {}): Extension {
6161
return [];
6262
}
6363

64-
const errors = await parser.validateSql(sql, { state: view.state });
64+
const errors = await parser.validateSql(sql, { state: view.state });
6565

6666
return errors.map((error) => convertToCodeMirrorDiagnostic(error, doc));
6767
},

0 commit comments

Comments
 (0)