mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user