Skip to content
Snippets Groups Projects
Commit d47bc479 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[sql-hint addon] Add test for alias completion

Issue #3248
parent 736140c0
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,15 @@
to: Pos(0, 15)
});
test("alias_complete", {
value: "SELECT t. FROM users t",
cursor: Pos(0, 9),
tables: simpleTables,
list: ["t.name", "t.score", "t.birthDate"],
from: Pos(0, 7),
to: Pos(0, 9)
});
function deepCompare(a, b) {
if (!a || typeof a != "object")
return a === b;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment