diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 10:09:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-04-11 10:09:45 +0200 |
commit | f396cffa239e948075af2224208671956d8b4a84 (patch) | |
tree | eeb44936b81b186138349bfc0d992e8ae951f523 /commands/commands_test.go | |
parent | 24d5c219424a9777bb1dd366b43e68e6f47e1adb (diff) |
commands: Fix the config command
It now also accepts the `-s` (source) flag.
See #4598
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index 4eab9b99f..7e590bea0 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -51,6 +51,7 @@ func TestCommands(t *testing.T) { // no args = hugo build {nil, []string{sourceFlag}, ""}, {nil, []string{sourceFlag, "--renderToMemory"}, ""}, + {[]string{"config"}, []string{sourceFlag}, ""}, {[]string{"benchmark"}, []string{sourceFlag, "-n=1"}, ""}, {[]string{"convert", "toTOML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "toml")}, ""}, {[]string{"convert", "toYAML"}, []string{sourceFlag, "-o=" + filepath.Join(dirOut, "yaml")}, ""}, |