Browse Source

Remove error test.

Roberto Ostinelli 5 years ago
parent
commit
9e95c67311
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/syn_test_event_handler.erl

+ 1 - 1
test/syn_test_event_handler.erl

@@ -39,7 +39,7 @@
     Meta :: any(),
     Reason :: any()
 ) -> any().
-on_process_exit(_Name, _Pid, {PidId, TestPid}, _Reason) ->
+on_process_exit(_Name, _Pid, {PidId, TestPid}, _Reason) when is_pid(TestPid) ->
     TestPid ! {received_event_on, PidId};
 on_process_exit(_Name, _Pid, _Meta, _Reason) ->
     ok.