Documentation
¶
Overview ¶
Package be_ctx provides Be matchers on context.Context
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ctx ¶
Ctx succeeds if the actual value is a context.Context. If no arguments are provided, it matches any context.Context. Otherwise, it uses the Psi matcher to match the provided arguments against the actual context's values.
func CtxWithDeadline ¶
CtxWithDeadline succeeds if the actual value is a context.Context and its deadline matches the provided deadline.
func CtxWithError ¶
CtxWithError succeeds if the actual value is a context.Context and its error matches the provided error value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.