diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-03-21 09:35:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-04-08 13:26:17 +0200 |
commit | d070bdf10f14d233288f7318a4e9f7555f070a65 (patch) | |
tree | fff8d59f98bdab3027bb45c4e10ca88594332872 /helpers/content_test.go | |
parent | b08193971a821fc27e549a73120c15e5e5186775 (diff) | |
download | hugo-d070bdf10f14d233288f7318a4e9f7555f070a65.tar.gz hugo-d070bdf10f14d233288f7318a4e9f7555f070a65.zip |
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r-- | helpers/content_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go index c1ff5c1d2..4b67b44f0 100644 --- a/helpers/content_test.go +++ b/helpers/content_test.go @@ -19,10 +19,10 @@ import ( "strings" "testing" - "github.com/gohugoio/hugo/config" "github.com/spf13/afero" "github.com/gohugoio/hugo/common/loggers" + "github.com/gohugoio/hugo/config" qt "github.com/frankban/quicktest" ) @@ -102,7 +102,7 @@ func TestBytesToHTML(t *testing.T) { } func TestNewContentSpec(t *testing.T) { - cfg := config.New() + cfg := config.NewWithTestDefaults() c := qt.New(t) cfg.Set("summaryLength", 32) |