Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsInfoRecord ¶ added in v2.20.0
ContainsInfoRecord asserts that an info record with a given message is present in the slice.
func ContainsRecord ¶ added in v2.20.0
func ContainsRecord(t *testing.T, records []report.Record, wantedRecord report.Record, shouldExist bool)
ContainsRecord asserts that a given record should or should not exist within a slice. The comparison of the Error and Message is done via contains.
func EqAPI ¶
EqAPI returns the gomock matcher that matches two API.
API is equal if both API.ID and API.URLPath are equal
func FindRecord ¶ added in v2.22.0
FindRecord checks if a given record is in a slice and returns it and true if found, otherwise an empty record and false. The comparison of the Error and Message is done via contains.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.