diff options
-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 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. |