You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
err is nil, so calling err.Error() panics, this is expected Go behavior
You might want to use require.Error(t, err) so that the test stops if err is nil, or use the boolean returned by assert.Error
I was testing our project on
Darwin/arm64
, but there were some test failures with the following example log:Almost all errors occurred when calling
assert.Error
like here.I'm not sure if this was caused by
testify
. Doestestify
supportDarwin/arm64
? Can you guys help to check it?The text was updated successfully, but these errors were encountered: