Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsistOfFields ¶
func ConsistOfFields(fields ...gstruct.Fields) types.GomegaMatcher
ConsistOfFields succeeds if actual matches all selected fields. Actual must be an array, slice or map. For maps, ConsistOfFields matches against the map's values. Actual's elements must be pointers.
func HaveFields ¶
func HaveFields(fields gstruct.Fields) types.GomegaMatcher
HaveFields succeeds if actual is a pointer and has a specific fields. Ignores extra elements or fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.