Add hugo.IsMultiHost

This commit is contained in:
razonyang
2024-02-29 23:58:57 +08:00
committed by Bjørn Erik Pedersen
parent ada3fceea8
commit 1f48b717c7
4 changed files with 29 additions and 0 deletions

View File

@@ -160,6 +160,7 @@ type testConfig struct {
environment string
running bool
workingDir string
multihost bool
}
func (c testConfig) Environment() string {
@@ -174,6 +175,10 @@ func (c testConfig) WorkingDir() string {
return c.workingDir
}
func (c testConfig) IsMultihost() bool {
return c.multihost
}
func TestIsGlobWithExtension(t *testing.T) {
c := qt.New(t)