diff --git a/hugolib/paginator_test.go b/hugolib/paginator_test.go index 8075c0a5a6c..2ce07805e25 100644 --- a/hugolib/paginator_test.go +++ b/hugolib/paginator_test.go @@ -168,5 +168,5 @@ Paginator: {{ .Paginator }} ` b, err := TestE(t, files) b.Assert(err, qt.IsNotNil) - b.Assert(err.Error(), qt.Contains, `error calling Paginator: pagination not supported for this page: kind: "page", path: "/p1", file: `+filepath.FromSlash(`"/content/p1.md"`)) + b.Assert(err.Error(), qt.Contains, `error calling Paginator: pagination not supported for this page: kind: "page"`) }