We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca37d1 commit 9246fe3Copy full SHA for 9246fe3
1 file changed
test/test.ts
@@ -565,7 +565,7 @@ test("can handle frames split over socket reads", async t => {
565
566
test("have to connect socket before opening channels", async t => {
567
const amqp = new AMQPClient("amqp://127.0.0.1")
568
- await t.throwsAsync(() => amqp.channel(), { message: /not connected/ })
+ await t.throwsAsync(() => amqp.channel(), { message: /Connection closed/ })
569
})
570
571
test("will raise if socket is closed on send", async t => {
0 commit comments