Skip to content

Commit

Permalink
Fix failing test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 1, 2024
1 parent b6def61 commit d8f0e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugolib/paginator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`)
}

0 comments on commit d8f0e30

Please sign in to comment.