Skip to content

Commit 9beda74

Browse files
Sort tags before comparing them in this test
now that the server sorts and deduplicates them
1 parent f87a551 commit 9beda74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ defmodule SetVhostTagsCommandTest do
7777
fn record -> record[:name] == context[:vhost] end
7878
)
7979

80-
assert result[:tags] == context[:tags]
80+
assert Enum.sort(result[:tags]) == Enum.sort(context[:tags])
8181
end
8282

8383
@tag vhost: @vhost, tags: [:qa]

0 commit comments

Comments
 (0)