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
{{ message }}
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
What is frustrating you?
Test cases that expect errors usually pass if it has any error, which is not correct if the error is different from what is expected.
For example:
Test case struct has the field:
What is frustrating you?
Test cases that expect errors usually pass if it has any error, which is not correct if the error is different from what is expected.
For example:
Test case struct has the field:
short/backend/app/usecase/url/urlcreator_test.go
Line 38 in e506d99
short/backend/app/usecase/url/urlcreator_test.go
Lines 192 to 193 in e506d99
Your solution
Tests should pass only if the error type is precisely the one expected.
The text was updated successfully, but these errors were encountered: