summaryrefslogtreecommitdiffstats
path: root/hugolib/language_content_dir_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/language_content_dir_test.go')
-rw-r--r--hugolib/language_content_dir_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/hugolib/language_content_dir_test.go b/hugolib/language_content_dir_test.go
index 05e207bbc..a22201475 100644
--- a/hugolib/language_content_dir_test.go
+++ b/hugolib/language_content_dir_test.go
@@ -20,10 +20,9 @@ import (
"path/filepath"
"testing"
+ "github.com/gohugoio/hugo/resources/kinds"
"github.com/spf13/cast"
- "github.com/gohugoio/hugo/resources/page"
-
qt "github.com/frankban/quicktest"
)
@@ -312,7 +311,7 @@ Content.
b.AssertFileContent("public/sv/sect/mybundle/logo.png", "PNG Data")
b.AssertFileContent("public/nn/sect/mybundle/logo.png", "PNG Data")
- nnSect := nnSite.getPage(page.KindSection, "sect")
+ nnSect := nnSite.getPage(kinds.KindSection, "sect")
c.Assert(nnSect, qt.Not(qt.IsNil))
c.Assert(len(nnSect.Pages()), qt.Equals, 12)
nnHome := nnSite.Home()