From b68c23de13dcf3560b8cef1e8ad46de411f186de Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 27 Dec 2023 22:57:52 -0800 Subject: [PATCH] Remove unnecessary placeholder variable --- main_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3