Skip to content

Commit 083889e

Browse files
committed
Fix test assertion
1 parent 68f8ef1 commit 083889e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/message_containers_deaths_v2_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ enable_feature_flag(Config) ->
9696
?assertEqual({longstr, <<>>}, rabbit_misc:table_lookup(Headers, <<"x-last-death-exchange">>)),
9797

9898
{array, [{table, Death1},
99-
{table, Death2}]} = rabbit_misc:table_lookup(H1, <<"x-death">>),
99+
{table, Death2}]} = rabbit_misc:table_lookup(Headers, <<"x-death">>),
100100

101101
?assertEqual({longstr, Q1}, rabbit_misc:table_lookup(Death1, <<"queue">>)),
102102
?assertEqual({longstr, <<"expired">>}, rabbit_misc:table_lookup(Death1, <<"reason">>)),

0 commit comments

Comments
 (0)