Skip to content

Commit

Permalink
i don't know why. but test has broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitta65 committed Apr 16, 2023
1 parent fc4c66a commit af62bcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/src/test/suite/completion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ describe("Completion", function () {
util.getDocUri(filename),
new vscode.Position(0, sql.length)
)) as vscode.CompletionList;
assert.ok(list.items.some((x) => x.label === "CURRENT_TIMESTAMP"));
assert.ok(
list.items.some((x) => x.label.toUpperCase() === "CURRENT_TIMESTAMP")
);
});
it("not global function", async function () {
const sql = "SELECT net."; // NOTE Actually, any string is OK.
Expand All @@ -29,7 +31,9 @@ describe("Completion", function () {
util.getDocUri(filename),
new vscode.Position(0, sql.length)
)) as vscode.CompletionList;
assert.ok(list.items.some((x) => x.label === "IPV4_FROM_INT64"));
assert.ok(
list.items.some((x) => x.label.toUpperCase() === "IPV4_FROM_INT64")
);
});
it("project", async function () {
const sql = "SELECT * FROM ``";
Expand Down

0 comments on commit af62bcd

Please sign in to comment.