Skip to content

Commit 6689fc1

Browse files
authored
Fix ExUnit.EventManager calling Supervisor on DynamicSupervisor (#15633)
1 parent 34abdd4 commit 6689fc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ex_unit/lib/ex_unit/event_manager.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ defmodule ExUnit.EventManager do
8787
defp notify({sup, event}, msg) do
8888
:gen_event.notify(event, msg)
8989

90-
for {_, pid, _, _} <- Supervisor.which_children(sup) do
90+
for {_, pid, _, _} <- DynamicSupervisor.which_children(sup) do
9191
GenServer.cast(pid, msg)
9292
end
9393

0 commit comments

Comments
 (0)