Skip to content

Commit c71a83b

Browse files
committed
Correct test descriptions to say ternary instead of binary
1 parent 025ec25 commit c71a83b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extensions/ql-vscode/test/vscode-tests/no-workspace/helpers.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ describe("helpers", () => {
549549
const title =
550550
"We've noticed you don't have a CodeQL pack available to analyze this database. Can we set up a query pack for you?";
551551

552-
it("should show a binary choice dialog and return `Yes`", async () => {
552+
it("should show a ternary choice dialog and return `Yes`", async () => {
553553
// pretend user chooses 'Yes'
554554
const yesItem = resolveArg(2);
555555
showInformationMessageSpy.mockImplementationOnce(yesItem);
@@ -558,7 +558,7 @@ describe("helpers", () => {
558558
expect(answer).toBe("Yes");
559559
});
560560

561-
it("should show a binary choice dialog and return `No`", async () => {
561+
it("should show a ternary choice dialog and return `No`", async () => {
562562
// pretend user chooses 'No'
563563
const noItem = resolveArg(3);
564564
showInformationMessageSpy.mockImplementationOnce(noItem);
@@ -567,7 +567,7 @@ describe("helpers", () => {
567567
expect(answer).toBe("No");
568568
});
569569

570-
it("should show a binary choice dialog and return `No, and never ask me again`", async () => {
570+
it("should show a ternary choice dialog and return `No, and never ask me again`", async () => {
571571
// pretend user chooses 'No, and never ask me again'
572572
const neverAskAgainItem = resolveArg(4);
573573
showInformationMessageSpy.mockImplementationOnce(neverAskAgainItem);

0 commit comments

Comments
 (0)