Skip to content

Commit defc381

Browse files
committed
Fix test depending on user-specified label
1 parent ebe2f89 commit defc381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/test/vscode-tests/no-workspace/query-history/query-history-manager.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ describe("QueryHistoryManager", () => {
497497
]);
498498

499499
expect(showBinaryChoiceDialogSpy).toHaveBeenCalledWith(
500-
"You are about to delete this query: query-name. Are you sure?",
500+
"You are about to delete this query: a-query-name (javascript). Are you sure?",
501501
);
502502
});
503503

@@ -581,7 +581,7 @@ describe("QueryHistoryManager", () => {
581581

582582
it("should show a modal asking 'Are you sure?'", () => {
583583
expect(showBinaryChoiceDialogSpy).toHaveBeenCalledWith(
584-
"You are about to delete this query: query-name. Are you sure?",
584+
"You are about to delete this query: a-query-name (javascript). Are you sure?",
585585
);
586586
});
587587
});

0 commit comments

Comments
 (0)