Skip to content

Commit

Permalink
itertool: lint errcheck lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tychoish committed Aug 24, 2023
1 parent 08e7254 commit f788c7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itertool/itertool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ func TestIndexed(t *testing.T) {

iter := Indexed(fun.VariadicIterator(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))
count := 0
iter.Observe(func(in dt.Pair[int, int]) { count++; check.Equal(t, in.Key, in.Value) }).Run(ctx)
err := iter.Observe(func(in dt.Pair[int, int]) { count++; check.Equal(t, in.Key, in.Value) }).Run(ctx)
check.NotError(t, err)
assert.Equal(t, count, 10)
}

Expand Down

0 comments on commit f788c7f

Please sign in to comment.