From d8f0e3071558f948b41b64bb514a01b62742a60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 1 Feb 2024 15:10:52 +0100 Subject: [PATCH] Fix failing test on Windows --- hugolib/paginator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/paginator_test.go b/hugolib/paginator_test.go index 8075c0a5a..2ce07805e 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"`) }