diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-05-04 10:18:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-05-21 00:41:42 +0200 |
commit | 0bbdef986d8eecf4fabe9a372e33626dbdfeb36b (patch) | |
tree | 72e52401c9bf5503e0581a0f522a350311e29a0e /hugolib/site_url_test.go | |
parent | 9bd4236e1b3bee332439eef50e12d4481340c3eb (diff) | |
download | hugo-0bbdef986d8eecf4fabe9a372e33626dbdfeb36b.tar.gz hugo-0bbdef986d8eecf4fabe9a372e33626dbdfeb36b.zip |
config: Add the foundation for GDPR privacy configuration
See #4616
Diffstat (limited to 'hugolib/site_url_test.go')
-rw-r--r-- | hugolib/site_url_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go index 2be615963..5b9d19e0d 100644 --- a/hugolib/site_url_test.go +++ b/hugolib/site_url_test.go @@ -55,7 +55,7 @@ func TestShouldNotAddTrailingSlashToBaseURL(t *testing.T) { d := deps.DepsCfg{Cfg: cfg, Fs: fs} s, err := NewSiteForCfg(d) require.NoError(t, err) - s.initializeSiteInfo() + require.NoError(t, s.initializeSiteInfo()) if s.Info.BaseURL() != template.URL(this.expected) { t.Errorf("[%d] got %s expected %s", i, s.Info.BaseURL(), this.expected) |