diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-01-05 12:01:13 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-01-06 10:29:13 +0100 |
commit | ab82a27d055c3aa177821d81a45a5c6e972aa29e (patch) | |
tree | d63246b0801d2cafbb755a204a5920beb067f94e /hugolib/hugo_sites_build_test.go | |
parent | f25d8a9e17fb65fa41dafdcbf0358853d68eaf45 (diff) | |
download | hugo-ab82a27d055c3aa177821d81a45a5c6e972aa29e.tar.gz hugo-ab82a27d055c3aa177821d81a45a5c6e972aa29e.zip |
Fix URLs for bundle resources in multihost mode
Fixes #4217
Diffstat (limited to 'hugolib/hugo_sites_build_test.go')
-rw-r--r-- | hugolib/hugo_sites_build_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index 09cd7aff3..429ea9a7c 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -394,7 +394,7 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { } // Check bundles - bundleFr := enSite.getPage(KindPage, "bundles/b1/index.md") + bundleFr := frSite.getPage(KindPage, "bundles/b1/index.md") require.NotNil(t, bundleFr) require.Equal(t, "/blog/fr/bundles/b1/", bundleFr.RelPermalink()) require.Equal(t, 1, len(bundleFr.Resources)) |