We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, long-time Ginkgo/Gomega lover here. I maintain an additional matcher library: https://github.com/rgalanakis/golangal
I know some of them are taste-dependent, but I think the built-in HaveLen and HaveCap matchers can be made more flexible without any downsides:
HaveLen(BeNumerically(">", 5))
Len()
Cap()
Expect(bytes.NewBufferString("abc")).To(HaveLength(3))
I have implementations of these here, or let me know if you'd add this and I can open a PR.
The text was updated successfully, but these errors were encountered:
love it! yes please do submit a PR!
Sorry, something went wrong.
No branches or pull requests
Hello, long-time Ginkgo/Gomega lover here. I maintain an additional matcher library: https://github.com/rgalanakis/golangal
I know some of them are taste-dependent, but I think the built-in HaveLen and HaveCap matchers can be made more flexible without any downsides:
HaveLen(BeNumerically(">", 5))
)Len()
orCap()
(ie,Expect(bytes.NewBufferString("abc")).To(HaveLength(3))
)I have implementations of these here, or let me know if you'd add this and I can open a PR.
The text was updated successfully, but these errors were encountered: