ContainerImage.Pinniped/cmd/placeholder-name
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
..
main.go Use Go's favorite version of the word "marshal". 2020-07-28 15:15:59 -05:00
main_test.go Use require.EqualError instead of require.Error. 2020-07-28 15:15:59 -05:00