summaryrefslogtreecommitdiffstats
path: root/commands/commands_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 08:39:39 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:50:19 +0200
commitb110d0ae04e13fb45c739bcebb580709745082e6 (patch)
tree7db6bfde65008ec29bdc87746f3201c1615c8a13 /commands/commands_test.go
parent73825cfc1c0b007830b24bb1947a565175b52d36 (diff)
commands: Remove the Hugo global
There are still some cleaning to do, but that felt good. See #4598
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r--commands/commands_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go
index 16381e645..4eab9b99f 100644
--- a/commands/commands_test.go
+++ b/commands/commands_test.go
@@ -50,8 +50,7 @@ func TestCommands(t *testing.T) {
{[]string{"version"}, nil, ""},
// no args = hugo build
{nil, []string{sourceFlag}, ""},
- // TODO(bep) cli refactor remove the HugoSites global and enable the below
- //{nil, []string{sourceFlag, "--renderToMemory"},false},
+ {nil, []string{sourceFlag, "--renderToMemory"}, ""},
{[]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")}, ""},