Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreError ¶
func IgnoreError(vals ...interface{})
IgnoreError acknowledges that an error value is being intentionally disregarded.
In general, errors should not be ignored, however, errors may be unimportant in certain test scenarios. IgnoreError accepts a variable-length argument list, like Expect(), as a convenience for functions returning values and an error, e.g. `func DoSomething() (string, error)`. IgnoreError will fail the current test if the last argument is neither nil nor a non-nil error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.