fix tests

This commit is contained in:
Jack Wright 2024-11-30 13:59:41 -08:00
parent 7006719603
commit 982ba402cb
1 changed files with 0 additions and 3 deletions

View File

@ -37,9 +37,6 @@ func TestGenNushellCompletion(t *testing.T) {
buf := new(bytes.Buffer) buf := new(bytes.Buffer)
assertNoErr(t, rootCmd.GenNushellCompletion(buf, true)) 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) { func TestGenNushellCompletionFile(t *testing.T) {