Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertIndie committed Dec 16, 2024
1 parent f33bb8e commit 823d692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulsar/client_impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1244,5 +1244,6 @@ func TestConnectionClosedError(t *testing.T) {
Topic: "my-topic",
})
assert.Error(t, err)
assert.True(t, strings.Contains(err.Error(), "failed to connect to broker: dial tcp [::1]:1234: connect: connection refused"), "error-message", err.Error())
assert.True(t, strings.Contains(err.Error(), "failed to connect to broker: dial tcp [::1]:1234: connect:"+
" connection refused"), "error-message", err.Error())
}

0 comments on commit 823d692

Please sign in to comment.