commands: Add CLI tests

See #4598
This commit is contained in:
Bjørn Erik Pedersen
2018-04-10 19:16:09 +02:00
parent 4d32f2fa89
commit e8d6ca9531
10 changed files with 199 additions and 71 deletions

View File

@@ -40,7 +40,7 @@ import (
type commandeer struct {
*deps.DepsCfg
h *hugoBuilderCommon
h *hugoBuilderCommon
ftch flagsToConfigHandler
pathSpec *helpers.PathSpec
@@ -109,7 +109,7 @@ func newCommandeer(running bool, h *hugoBuilderCommon, f flagsToConfigHandler, d
c := &commandeer{
h: h,
ftch: f,
ftch: f,
doWithCommandeer: doWithCommandeer,
visitedURLs: types.NewEvictingStringQueue(10),
debounce: rebuildDebouncer,