summaryrefslogtreecommitdiffstats
path: root/common/hugo/hugo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/hugo/hugo_test.go')
-rw-r--r--common/hugo/hugo_test.go13
1 files changed, 9 insertions, 4 deletions
diff --git a/common/hugo/hugo_test.go b/common/hugo/hugo_test.go
index e76d80000..e1d907158 100644
--- a/common/hugo/hugo_test.go
+++ b/common/hugo/hugo_test.go
@@ -65,10 +65,11 @@ func TestDeprecationLogLevelFromVersion(t *testing.T) {
}
type testConfig struct {
- environment string
- running bool
- workingDir string
- multihost bool
+ environment string
+ running bool
+ workingDir string
+ multihost bool
+ multilingual bool
}
func (c testConfig) Environment() string {
@@ -86,3 +87,7 @@ func (c testConfig) WorkingDir() string {
func (c testConfig) IsMultihost() bool {
return c.multihost
}
+
+func (c testConfig) IsMultiLingual() bool {
+ return c.multilingual
+}