diff options
| author | Francesco Mazzoli <francesco@rabbitmq.com> | 2012-09-04 11:23:18 +0100 |
|---|---|---|
| committer | Francesco Mazzoli <francesco@rabbitmq.com> | 2012-09-04 11:23:18 +0100 |
| commit | 4bc73caa9b984191819b83b2dfe2f481be2eca15 (patch) | |
| tree | 7776715a680dd8b21920912bdb4d224eb4eafd36 /src | |
| parent | ebdf3e659a1282736aefa117d339e3d25f2d1314 (diff) | |
| download | rabbitmq-server-git-4bc73caa9b984191819b83b2dfe2f481be2eca15.tar.gz | |
cosmetics
Diffstat (limited to 'src')
| -rw-r--r-- | src/supervisor2_tests.erl | 4 |
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. |
