Skip to content

Commit

Permalink
fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
aranw committed Aug 2, 2024
1 parent 21f5a30 commit eca9e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/jamtime/jamtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit eca9e60

Please sign in to comment.