summaryrefslogtreecommitdiffstats
path: root/hugolib/page_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r--hugolib/page_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go
index 05a1c3d77..b93173131 100644
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -1585,7 +1585,7 @@ func TestShouldBuild(t *testing.T) {
func TestShouldBuildWithClock(t *testing.T) {
htime.Clock = clock.Start(time.Date(2021, 11, 17, 20, 34, 58, 651387237, time.UTC))
- t.Cleanup(func() { htime.Clock = clock.Start(time.Now()) })
+ t.Cleanup(func() { htime.Clock = clock.System() })
past := time.Date(2009, 11, 17, 20, 34, 58, 651387237, time.UTC)
future := time.Date(2037, 11, 17, 20, 34, 58, 651387237, time.UTC)
zero := time.Time{}