Skip to content

Commit

Permalink
test: add msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 30, 2025
1 parent 6459ed3 commit 3fafc71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handshake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ func TestDial_Exception(t *testing.T) {
var e *Exception
require.Nil(t, client)
require.ErrorAs(t, err, &e)
require.True(t, IsErr(err, proto.ErrAuthenticationFailed))
require.Truef(t, IsErr(err, proto.ErrAuthenticationFailed),
"expected %v, got %v", proto.ErrAuthenticationFailed, err,
)
}

0 comments on commit 3fafc71

Please sign in to comment.