Skip to content

Commit

Permalink
require.NoError
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Nov 2, 2024
1 parent 5942c51 commit 6aa7a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bounces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestGetSingleBounce(t *testing.T) {
exampleEmail := fmt.Sprintf("%s@%s", strings.ToLower(randomString(64, "")),
os.Getenv("MG_DOMAIN"))
_, err := mg.GetBounce(ctx, exampleEmail)
require.NotNil(t, err)
require.NoError(t, err)

var ure *mailgun.UnexpectedResponseError
require.ErrorAs(t, err, &ure)
Expand Down

0 comments on commit 6aa7a20

Please sign in to comment.