-
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow users to wrap the Gomega interface (#521)
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.
- Loading branch information
Showing
1 changed file
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters