Skip to content

Commit

Permalink
fix lint errorgs
Browse files Browse the repository at this point in the history
Signed-off-by: Clement <[email protected]>
  • Loading branch information
clement2026 committed Jun 28, 2024
1 parent 93d0484 commit 302254b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/etcdserver/snapshot_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package etcdserver

import (
"container/heap"
"github.com/stretchr/testify/assert"
"testing"

"github.com/stretchr/testify/assert"
)

func TestSnapTracker_MinSnapi(t *testing.T) {
Expand Down Expand Up @@ -65,6 +66,7 @@ func TestSnapTracker_UnTrack(t *testing.T) {

st.UnTrack(20)
minSnapi, err = st.MinSnapi()
assert.Nil(t, err)
assert.Equal(t, uint64(40), minSnapi)

st.UnTrack(40)
Expand Down

0 comments on commit 302254b

Please sign in to comment.