From eca9e6093ec419a4d58fbc8332dd2358374d6461 Mon Sep 17 00:00:00 2001 From: Aran Wilkinson Date: Fri, 2 Aug 2024 14:58:57 +0100 Subject: [PATCH] fix incorrect assertion --- internal/jamtime/jamtime_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/jamtime/jamtime_test.go b/internal/jamtime/jamtime_test.go index fc7a905..178430c 100644 --- a/internal/jamtime/jamtime_test.go +++ b/internal/jamtime/jamtime_test.go @@ -281,7 +281,7 @@ func TestJamTime_IsInSameEpoch(t *testing.T) { maxTime := JamTime{Seconds: ^uint64(0)} almostMaxTime := JamTime{Seconds: ^uint64(0) - 3599} - assert.True(t, maxTime.IsInSameEpoch(almostMaxTime)) + assert.False(t, maxTime.IsInSameEpoch(almostMaxTime)) }) t.Run("zero and almost one epoch", func(t *testing.T) {