From: Ardis Lu Date: Thu, 28 Dec 2023 06:57:52 +0000 (-0800) Subject: Remove unnecessary placeholder variable X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=b68c23de13dcf3560b8cef1e8ad46de411f186de;p=seed-phrase-transposer Remove unnecessary placeholder variable --- diff --git a/main_test.ts b/main_test.ts index 879f5bd..892b2de 100644 --- a/main_test.ts +++ b/main_test.ts @@ -188,7 +188,7 @@ Deno.test("main logs permutations of a 12-word seed phrase", () => { const promptStub = stub( globalThis, "prompt", - (_) => "1 4 7 10 2 5 8 11 3 6 9 12", + () => "1 4 7 10 2 5 8 11 3 6 9 12", ); main(); @@ -203,7 +203,7 @@ Deno.test("main exits cleanly on a malformed seed phrase", () => { const promptStub = stub( globalThis, "prompt", - (_) => "1 2 3 4 5", + () => "1 2 3 4 5", ); assertThrows(main); // Calling Deno.exit() within a test throws an error