Fix failing test on Windows

This commit is contained in:
Bjørn Erik Pedersen 2024-02-01 15:10:52 +01:00
parent b6def61727
commit d8f0e30715
No known key found for this signature in database

View file

@ -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"`)
}