mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -18,9 +18,8 @@ import (
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/gohugoio/hugo/common/loggers"
|
||||
|
||||
qt "github.com/frankban/quicktest"
|
||||
"github.com/gohugoio/hugo/common/loggers"
|
||||
)
|
||||
|
||||
const pageWithAlias = `---
|
||||
@@ -117,7 +116,7 @@ func TestAliasTemplate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTargetPathHTMLRedirectAlias(t *testing.T) {
|
||||
h := newAliasHandler(nil, loggers.NewErrorLogger(), false)
|
||||
h := newAliasHandler(nil, loggers.NewDefault(), false)
|
||||
|
||||
errIsNilForThisOS := runtime.GOOS != "windows"
|
||||
|
||||
|
Reference in New Issue
Block a user