Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
shed: fix index test
Browse files Browse the repository at this point in the history
  • Loading branch information
tzdybal committed Apr 14, 2020
1 parent f4fd269 commit 9b954e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shed/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1262,10 +1262,9 @@ func TestIndexOffset(t *testing.T) {
checkItem(t, item, items[1])

item, err = index1.Offset(nil, -1)
if err != nil {
t.Error(err)
if err == nil {
t.Error("Error was expected!")
}
checkItem(t, item, items[1])

item, err = index2.Offset(nil, 10)
if err != nil {
Expand Down

0 comments on commit 9b954e5

Please sign in to comment.