After using Go 1.23 and the slices and maps package from the standard library, test coverage dropped to less than 100%. Running make cov demonstrates this.
What did you expect to happen?
make cov demonstrates 100% test coverage.
Which version of go-functional were you using?
Latest on v2.
To Reproduce
See above.
Do you intend to fix this issue yourself?
Yes.
Additional context
I've already fixed coverage in take.go as an example of how to achieve 100% coverage. As a byproduct existing tests that use iter.Pull are no longer needed to maintain coverage.
What happened?
After using Go 1.23 and the slices and maps package from the standard library, test coverage dropped to less than 100%. Running
make cov
demonstrates this.What did you expect to happen?
make cov
demonstrates 100% test coverage.Which version of go-functional were you using?
Latest on
v2
.To Reproduce
See above.
Do you intend to fix this issue yourself?
Yes.
Additional context
I've already fixed coverage in
take.go
as an example of how to achieve 100% coverage. As a byproduct existing tests that useiter.Pull
are no longer needed to maintain coverage.