@@ -268,13 +268,13 @@ missing_dest_exchange(Config) ->
268
268
with_ch (Config ,
269
269
fun (Ch ) ->
270
270
amqp_channel :call (
271
- Ch , # 'queue.declare' {queue = <<" src" >>, % E: record 'queue.declare' undefined
272
- durable = true }),
271
+ Ch , # 'queue.declare' {queue = <<" src" >>,
272
+ durable = true }),
273
273
amqp_channel :call (
274
- Ch , # 'queue.declare' {queue = <<" dest" >>, % E: record 'queue.declare' undefined
275
- durable = true }),
274
+ Ch , # 'queue.declare' {queue = <<" dest" >>,
275
+ durable = true }),
276
276
amqp_channel :call (
277
- Ch , # 'queue.bind' {queue = <<" src" >>, % E: record 'queue.bind' undefined
277
+ Ch , # 'queue.bind' {queue = <<" src" >>,
278
278
exchange = <<" amq.direct" >>,
279
279
routing_key = <<" src-key" >>}),
280
280
shovel_test_utils :set_param (Config ,
@@ -285,9 +285,9 @@ missing_dest_exchange(Config) ->
285
285
publish (Ch , <<" amq.direct" >>, <<" src-key" >>, <<" hello" >>),
286
286
expect_empty (Ch , <<" src" >>),
287
287
amqp_channel :call (
288
- Ch , # 'exchange.declare' {exchange = <<" dest-ex" >>}), % E: record 'exchange.declare' undefined
288
+ Ch , # 'exchange.declare' {exchange = <<" dest-ex" >>}),
289
289
amqp_channel :call (
290
- Ch , # 'queue.bind' {queue = <<" dest" >>, % E: record 'queue.bind' undefined
290
+ Ch , # 'queue.bind' {queue = <<" dest" >>,
291
291
exchange = <<" dest-ex" >>,
292
292
routing_key = <<" dest-key" >>}),
293
293
publish_expect (Ch , <<" amq.direct" >>, <<" src-key" >>, <<" dest" >>, <<" hello!" >>)
0 commit comments