diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-26 12:08:21 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-26 12:08:21 +0000 |
commit | c568567524756c0d156599e8f9cbf33dcbcce78e (patch) | |
tree | eb0ee9cb3b05bf3347cce16b360cbfafe27e05ad | |
parent | 33394fa90b5b5f5596b8dc0e34b58879230b6ee5 (diff) | |
download | rabbitmq-server-c568567524756c0d156599e8f9cbf33dcbcce78e.tar.gz |
cosmetic
-rw-r--r-- | src/rabbit_tests.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index c4bd1836..d5c096a1 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -2319,9 +2319,8 @@ test_variable_queue_fold(VQ0) -> VQ1 = rabbit_variable_queue:set_ram_duration_target(0, VQ0), VQ2 = variable_queue_publish( true, Count, fun (_, P) -> P end, fun erlang:term_to_binary/1, VQ1), - {Acc, VQ3} = rabbit_variable_queue:fold(fun (M, _, A) -> - [M | A] - end, [], VQ2), + {Acc, VQ3} = rabbit_variable_queue:fold( + fun (M, _, A) -> [M | A] end, [], VQ2), true = [term_to_binary(N) || N <- lists:seq(Count, 1, -1)] == [list_to_binary(lists:reverse(P)) || #basic_message{ content = #content{ payload_fragments_rev = P}} <- |