summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-09-04 11:23:18 +0100
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-09-04 11:23:18 +0100
commit4bc73caa9b984191819b83b2dfe2f481be2eca15 (patch)
tree7776715a680dd8b21920912bdb4d224eb4eafd36 /src
parentebdf3e659a1282736aefa117d339e3d25f2d1314 (diff)
downloadrabbitmq-server-git-4bc73caa9b984191819b83b2dfe2f481be2eca15.tar.gz
cosmetics
Diffstat (limited to 'src')
-rw-r--r--src/supervisor2_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supervisor2_tests.erl b/src/supervisor2_tests.erl
index 599dfac9d7..dbb3bea358 100644
--- a/src/supervisor2_tests.erl
+++ b/src/supervisor2_tests.erl
@@ -75,8 +75,8 @@ start_and_terminate_children(SigStop, Sup, N) ->
erlang:monitor(process, TestSupPid),
[P ! SigStop || P <- ChildPids],
?assertEqual(ok, supervisor2:terminate_child(Sup, test_sup)),
- ?assertMatch({ok,_}, supervisor2:restart_child(Sup, test_sup)),
+ ?assertMatch({ok, _}, supervisor2:restart_child(Sup, test_sup)),
receive
{'DOWN', _MRef, process, TestSupPid, Reason} ->
- ?assertMatch(shutdown, Reason)
+ ?assertMatch(shutdown, Reason)
end.