Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sketch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestSketchClear(t *testing.T) {
}

func TestNext2Power(t *testing.T) {
sz := 12 << 30
sz := int64(12) << 30
szf := float64(sz) * 0.01
val := int64(szf)
t.Logf("szf = %.2f val = %d\n", szf, val)
Expand Down
2 changes: 1 addition & 1 deletion store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestStoreExpiration(t *testing.T) {
require.True(t, s.Expiration(key).IsZero())

// missing item
key, _ = z.KeyToHash(4340958203495)
key, _ = z.KeyToHash(int64(4340958203495))
ttl = s.Expiration(key)
require.True(t, ttl.IsZero())
}
Expand Down
Loading