mirror of
https://github.com/spf13/cobra
synced 2025-01-01 09:16:42 +00:00
fix tests
This commit is contained in:
parent
7006719603
commit
982ba402cb
1 changed files with 0 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue