summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-11-20 10:34:30 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-11-20 11:17:46 +0100
commit089fe49309cd9cadba3ae9a5eddfd69622941a70 (patch)
tree4a27f20df4e50e5856af23e7e2e0cd293272e982 /hugolib/hugo_sites_build_test.go
parent118b83d74b5caaae6646ec031d59b8ab3491c6b2 (diff)
hugolib: Make sure everything ends up in its lang root in multihost mode
Fixes #4105
Diffstat (limited to 'hugolib/hugo_sites_build_test.go')
-rw-r--r--hugolib/hugo_sites_build_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go
index 60c86d016..6b3522d6f 100644
--- a/hugolib/hugo_sites_build_test.go
+++ b/hugolib/hugo_sites_build_test.go
@@ -254,7 +254,6 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) {
doc3 := enSite.RegularPages[2]
permalink = doc3.Permalink()
- require.NoError(t, err, "permalink call failed")
// Note that /superbob is a custom URL set in frontmatter.
// We respect that URL literally (it can be /search.json)
// and do no not do any language code prefixing.
@@ -1155,6 +1154,7 @@ NOTE: without slug, "doc2" should be used, without ".en" as URL
title: doc3
weight: 3
publishdate: "2000-01-03"
+aliases: [/en/al/alias1,/al/alias2/]
tags:
- tag2
- tag1