aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/hugo_sites_build_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-11-02 08:25:20 +0100
committerBjørn Erik Pedersen <[email protected]>2017-11-17 11:01:46 +0100
commit2e0465764b5dacc511b977b1c9aa07324ad0ee9c (patch)
treeae5a32eb9340e4c0e78e063228821edc29037631 /hugolib/hugo_sites_build_test.go
parent6233ddf9d19b51f69c0c4a796d88732d1700e585 (diff)
downloadhugo-2e0465764b5dacc511b977b1c9aa07324ad0ee9c.tar.gz
hugo-2e0465764b5dacc511b977b1c9aa07324ad0ee9c.zip
Add multilingual multihost support
This commit adds multihost support when more than one language is configured and `baseURL` is set per language. Updates #4027
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 96e2c66b2..079f0fcfa 100644
--- a/hugolib/hugo_sites_build_test.go
+++ b/hugolib/hugo_sites_build_test.go
@@ -1269,7 +1269,7 @@ lag:
t.Fatalf("Failed to create sites: %s", err)
}
- if len(sites.Sites) != 4 {
+ if len(sites.Sites) == 0 {
t.Fatalf("Got %d sites", len(sites.Sites))
}