mirror of
https://github.com/spf13/cobra.git
synced 2024-12-19 10:05:07 -07:00
fix tests
This commit is contained in:
parent
7006719603
commit
982ba402cb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user