diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex index c81e627e43c..ac345bf33a0 100644 --- a/lib/elixir/lib/supervisor.ex +++ b/lib/elixir/lib/supervisor.ex @@ -82,7 +82,7 @@ defmodule Supervisor do GenServer.call(Counter, :get) #=> 0 - GenServer.cast(Counter, {:bump, 3}) + GenServer.call(Counter, {:bump, 3}) #=> 0 GenServer.call(Counter, :get)