diff options
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index 9966cd937..beb817527 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -274,11 +274,14 @@ func TestCommandsExecute(t *testing.T) { // no args = hugo build {nil, []string{sourceFlag}, ""}, {nil, []string{sourceFlag, "--renderToMemory"}, ""}, + {[]string{"completion", "bash"}, nil, ""}, + {[]string{"completion", "fish"}, nil, ""}, + {[]string{"completion", "powershell"}, nil, ""}, + {[]string{"completion", "zsh"}, nil, ""}, {[]string{"config"}, []string{sourceFlag}, ""}, {[]string{"convert", "toTOML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "toml")}, ""}, {[]string{"convert", "toYAML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "yaml")}, ""}, {[]string{"convert", "toJSON"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "json")}, ""}, - {[]string{"gen", "autocomplete"}, []string{"--completionfile=" + filepath.Join(dirOut, "autocomplete.txt")}, ""}, {[]string{"gen", "chromastyles"}, []string{"--style=manni"}, ""}, {[]string{"gen", "doc"}, []string{"--dir=" + filepath.Join(dirOut, "doc")}, ""}, {[]string{"gen", "man"}, []string{"--dir=" + filepath.Join(dirOut, "man")}, ""}, |