diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-26 15:16:01 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-26 15:16:01 +0100 |
commit | 2b39ffbc5fe14c7a1f0caf19162446ce70d7a069 (patch) | |
tree | 8b7758f55ce7688a8bccb7168be58d5a16e5ed64 | |
parent | a84c0487b776e8e0d3c9411270c8d20f5bcfa8df (diff) | |
download | rabbitmq-server-2b39ffbc5fe14c7a1f0caf19162446ce70d7a069.tar.gz |
remove unnecessary begin/end
-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 73d86a90..3097a4ed 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -1584,9 +1584,8 @@ test_msg_store() -> ok = with_msg_store_client( ?PERSISTENT_MSG_STORE, Ref, fun (MSCStateM) -> - [begin - ok = rabbit_msg_store:write(Guid, Payload, MSCStateM) - end || Guid <- GuidsBig], + [ok = rabbit_msg_store:write(Guid, Payload, MSCStateM) + || Guid <- GuidsBig], MSCStateM end), %% now read them to ensure we hit the fast client-side reading |