From 27c6ee8132bcd8a0d0924624f5a5085cbe80508b Mon Sep 17 00:00:00 2001 From: Francesco Mazzoli Date: Tue, 4 Sep 2012 11:23:18 +0100 Subject: cosmetics --- src/supervisor2_tests.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supervisor2_tests.erl b/src/supervisor2_tests.erl index 599dfac9..dbb3bea3 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. -- cgit v1.2.1