Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertErrorMatch ¶
AssertErrorMatch will fail if the error doesn't match the provided error.
func AssertNoError ¶
AssertNoError will fail if the provided err value is an error.
func MatchErrorString ¶
MatchErrorString takes a string and matches on the error and returns true if the string matches the error.
This is useful in table tests.
If the string can't be compiled as an regexp, then this will fail with a Fatal error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.