devchat-ai / gopool

GoPool is a high-performance, feature-rich, and easy-to-use worker pool library for Golang.
MIT License
187 stars 26 forks source link

Refactor tests using Ginkgo and Gomega #12

Closed daniel-hutao closed 1 year ago

daniel-hutao commented 1 year ago

This commit refactors all the tests in the gopool package to use the Ginkgo testing framework and the Gomega assertion library. The tests are now more readable and maintainable. The go.mod file has also been updated to include the new dependencies.