diff --git a/internal/repository/index_test.go b/internal/repository/index_test.go index 599f243f3..d64e8585a 100644 --- a/internal/repository/index_test.go +++ b/internal/repository/index_test.go @@ -134,6 +134,7 @@ func TestIndexSerialize(t *testing.T) { id := restic.NewRandomID() rtest.OK(t, idx.SetID(id)) id2, err := idx.ID() + rtest.OK(t, err) rtest.Assert(t, id2.Equal(id), "wrong ID returned: want %v, got %v", id, id2)