Skip to content

Commit

Permalink
fixup! #86 Add empty test case
Browse files Browse the repository at this point in the history
  • Loading branch information
meian committed Feb 5, 2022
1 parent bab37dd commit b10d681
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func testEmpties(t *testing.T, f func(itb gcf.Iterable[int]) gcf.Iterable[int])
t.Errorf("%v", err)
}
}()
// make empty elements but not emptyIterable.
itb := gcf.FromSlice([]int{1})
itb = gcf.Filter(itb, func(v int) bool { return false })
itb = f(itb)
Expand Down

0 comments on commit b10d681

Please sign in to comment.