fix tests

This commit is contained in:
Jack Wright 2024-11-30 13:59:41 -08:00
parent 7006719603
commit 982ba402cb

View file

@ -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) {