diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-21 11:35:15 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-04-08 14:26:17 +0300 |
commit | d070bdf10f14d233288f7318a4e9f7555f070a65 (patch) | |
tree | fff8d59f98bdab3027bb45c4e10ca88594332872 /commands/list_test.go | |
parent | b08193971a821fc27e549a73120c15e5e5186775 (diff) |
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
Diffstat (limited to 'commands/list_test.go')
-rw-r--r-- | commands/list_test.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/commands/list_test.go b/commands/list_test.go index 6f3d6c74d..56a3ee9b9 100644 --- a/commands/list_test.go +++ b/commands/list_test.go @@ -29,10 +29,7 @@ func captureStdout(f func() error) (string, error) { func TestListAll(t *testing.T) { c := qt.New(t) - dir, clean, err := createSimpleTestSite(t, testSiteConfig{}) - defer clean() - - c.Assert(err, qt.IsNil) + dir := createSimpleTestSite(t, testSiteConfig{}) hugoCmd := newCommandsBuilder().addAll().build() cmd := hugoCmd.getCommand() |