Matt Moyer 0ee4f0417d Use require.EqualError instead of require.Error.
The type signatures of these methods make them easy to mix up. `require.Error()` asserts that there is any non-nil error -- the last parameter is an optional human-readable message to log when the assertion fails. `require.EqualError()` asserts that there is a non-nil error _and_ that when you call `err.Error()`, the string matches the expected value. It also takes an additional optional parameter to specify the log message.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-28 15:15:59 -05:00
2020-07-28 15:15:59 -05:00
2020-07-28 15:15:59 -05:00
2020-07-02 17:05:59 -07:00
2020-07-13 16:23:54 -05:00
2020-07-28 15:15:59 -05:00
2020-07-28 15:15:59 -05:00
2020-07-06 13:50:31 -05:00
2020-07-02 15:23:21 -07:00
Description
No description provided
Readme Apache-2.0 30 MiB
Languages
Go 97.3%
Shell 1.6%
HTML 0.4%
SCSS 0.4%
CSS 0.1%
Other 0.1%