diff --git a/nushell_completions_test.go b/nushell_completions_test.go index 1901540a..3958a134 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) {