Skip to content

Commit a48de99

Browse files
GsantomaggioZerpet
andauthored
Update pkg/rabbitmqamqp/amqp_connection_test.go
Co-authored-by: Aitor Pérez Cedres <[email protected]>
1 parent 8b5b022 commit a48de99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/rabbitmqamqp/amqp_connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ var _ = Describe("AMQP connection Test", func() {
172172
TLSConfig: tlsConfig,
173173
})
174174
Expect(connection).To(BeNil())
175-
Expect(err).NotTo(BeNil())
175+
Expect(err).To(HaveOccurred())
176176
Expect(err.Error()).To(ContainSubstring("failed to open TLS connection"))
177177
})
178178

0 commit comments

Comments
 (0)