Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
snichme committed Oct 8, 2024
1 parent 7410fdb commit 2f9392c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/exchange_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ describe LavinMQ::Exchange do
it "should not be in use when just created" do
with_amqp_server do |s|
with_channel(s) do |ch|
x1 = ch.exchange("e1", "topic", auto_delete: true)
x2 = ch.exchange("e2", "topic", auto_delete: true)
# x2.bind(x1.name, "#")
ch.exchange("e1", "topic", auto_delete: true)
ch.exchange("e2", "topic", auto_delete: true)
s.vhosts["/"].exchanges["e1"].in_use?.should be_false
s.vhosts["/"].exchanges["e2"].in_use?.should be_false
end
Expand Down

0 comments on commit 2f9392c

Please sign in to comment.