X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/ce0eacc2fe5090810cf22e022af3ab83006068a4..c781f79f3c8cb9a7577ee1574d196988da2719b3:/clock_helper_test.go diff --git a/clock_helper_test.go b/clock_helper_test.go index 32dfbb9..0a14fd8 100644 --- a/clock_helper_test.go +++ b/clock_helper_test.go @@ -7,12 +7,12 @@ type TestClock struct { now time.Time } -func (c *TestClock) Now() time.Time { - return c.now -} - func newTestClock() *TestClock { return &TestClock{ now: time.Date(2026, 1, 1, 12, 0, 0, 0, time.UTC), } } + +func (c *TestClock) Now() time.Time { + return c.now +}