From 982ba402cbbaca8d19e75d48482ebdd2bdba5e9a Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Sat, 30 Nov 2024 13:59:41 -0800 Subject: [PATCH] fix tests --- nushell_completions_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/nushell_completions_test.go b/nushell_completions_test.go index 1901540..3958a13 100644 --- a/nushell_completions_test.go +++ b/nushell_completions_test.go @@ -37,9 +37,6 @@ func TestGenNushellCompletion(t *testing.T) { buf := new(bytes.Buffer) assertNoErr(t, rootCmd.GenNushellCompletion(buf, true)) - output := buf.String() - - check(t, output, fmt.Sprintf("let cobra_apps = [\"%[1]s\"]", rootCmd.Name())) } func TestGenNushellCompletionFile(t *testing.T) {