mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Add hugo.IsMultiHost
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ada3fceea8
commit
1f48b717c7
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user