Files
podman/vendor/github.com/onsi/ginkgo/v2/internal/counter.go
Paul Holzinger 445815036f update to ginkgo v2
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-05-02 11:27:35 +02:00

10 lines
151 B
Go

package internal
func MakeIncrementingIndexCounter() func() (int, error) {
idx := -1
return func() (int, error) {
idx += 1
return idx, nil
}
}