Skip to content

Commit

Permalink
test(store): add another testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay committed Oct 24, 2024
1 parent 3eab48c commit 241f705
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ func TestStore(t *testing.T) {
out, err = store.getRangeByHeight(ctx, 1, 13)
require.NoError(t, err)
assert.Len(t, out, 12)

out, err = store.getRangeByHeight(ctx, 10, 11)
require.NoError(t, err)
assert.Len(t, out, 1)
}

// TestStore_GetRangeByHeight_ExpectedRange
Expand Down

0 comments on commit 241f705

Please sign in to comment.