Skip to content

Commit 5095605

Browse files
committed
eunit: use erlang:exit_signal/2
1 parent 7beeff5 commit 5095605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/eunit/src/eunit_data.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ ping(P) ->
839839

840840
data_test_() ->
841841
Setup = fun () -> spawn(fun echo_proc/0) end,
842-
Cleanup = fun (Pid) -> exit(Pid, kill) end,
842+
Cleanup = fun (Pid) -> erlang:exit_signal(Pid, kill) end,
843843
Fail = ?_test(throw(eunit)),
844844
T = ?_test(ok),
845845
Tests = [T,T,T],

0 commit comments

Comments
 (0)