gomega

package
v0.33.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL