# Functions
AtEvery succeeds when every element in a slice matches the given matcher.
AtIndex succeeds when the slice element at the given index matches the given matcher.
AtKey succeeds when the element of a slice at the given key matches the given matcher.
EachTempDir returns a function that returns a temporary directory string when invoked that is cached across a single test.
EnvVars returns a function that can be called to set an environment variable for the duration of the test, and unset it (if it did not exist) or restore the original value (if it did exist) after the test.
No description provided by the author
No description provided by the author
HaveResponseCode is a Gomega matcher to ensure an *httptest.ResponseRecorder has the expected response code.
MatchCap matches the length of a collection against a matcher.
MatchField matches the value of the field named name on the actual struct.
MatchLen matches the length of a collection against a matcher.
MatchPtrField is same as MatchField, but the actual object should be a pointer, not a struct.
NotError is like gomega's Succeed matcher, except it handles functions which return multiple values.