summaryrefslogtreecommitdiffstats
path: root/helpers/testhelpers_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-25 14:37:04 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-27 15:43:56 +0200
commit15b64d51da48807c5f896f17b33d8c0d054c9461 (patch)
treeb8f585ad5a1741b26540184ec29ec2a26fc4060f /helpers/testhelpers_test.go
parent148fedd227b8f4f5af8f72cb6841653140f82dfe (diff)
all: Propagate baseURL error to the callers
Diffstat (limited to 'helpers/testhelpers_test.go')
-rw-r--r--helpers/testhelpers_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/testhelpers_test.go b/helpers/testhelpers_test.go
index 303f9feb6..d5a1b60ed 100644
--- a/helpers/testhelpers_test.go
+++ b/helpers/testhelpers_test.go
@@ -8,7 +8,8 @@ import (
func newTestPathSpec(fs *hugofs.Fs, v *viper.Viper) *PathSpec {
l := NewDefaultLanguage(v)
- return NewPathSpec(fs, l)
+ ps, _ := NewPathSpec(fs, l)
+ return ps
}
func newTestDefaultPathSpec(configKeyValues ...interface{}) *PathSpec {