mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-24 21:56:05 +02:00
all: Propagate baseURL error to the callers
This commit is contained in:
@@ -40,8 +40,9 @@ func TestNewPathSpecFromConfig(t *testing.T) {
|
||||
v.Set("staticDir", "thestatic")
|
||||
v.Set("theme", "thetheme")
|
||||
|
||||
p := NewPathSpec(hugofs.NewMem(v), l)
|
||||
p, err := NewPathSpec(hugofs.NewMem(v), l)
|
||||
|
||||
require.NoError(t, err)
|
||||
require.True(t, p.canonifyURLs)
|
||||
require.True(t, p.defaultContentLanguageInSubdir)
|
||||
require.True(t, p.disablePathToLower)
|
||||
|
Reference in New Issue
Block a user