Skip to content
New issue

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

allow users to wrap the Gomega interface #521

Merged
merged 1 commit into from Mar 25, 2022

Commits on Feb 18, 2022

  1. allow users to wrap the Gomega interface

    gomega internally casts to *internal.Gomega which makes wrapping
    it impossible.  To allow this, add an interface that if implemented
    will be used to get the actual *internal.Gomega.  This allows users
    to replace gomega.Default with their own wrapper as long as it
    implements provides an 'Inner() Gomega' method.
    tzneal committed Feb 18, 2022
    Copy the full SHA
    a54482b View commit details
    Browse the repository at this point in the history