diff options
Diffstat (limited to 'internal/test/error.go')
| -rw-r--r-- | internal/test/error.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/test/error.go b/internal/test/error.go index 98fa09b..b2ddd12 100644 --- a/internal/test/error.go +++ b/internal/test/error.go @@ -2,6 +2,7 @@ package test import "testing" +// AssertError asserts an error by checking if the `Error()` strings are equal func AssertError(t *testing.T, err error, wantErr string) { gv := "" if err != nil { |
