diff --git a/lib/mox.ex b/lib/mox.ex index 9bdf73e..29a5bbd 100644 --- a/lib/mox.ex +++ b/lib/mox.ex @@ -807,8 +807,7 @@ defmodule Mox do # Made public for testing. @doc false def verify_mock_or_all!(owner_pid, mock_or_all) do - all_expectations = - NimbleOwnership.get_owned(@this, owner_pid, _default = %{}, @timeout) + all_expectations = NimbleOwnership.get_owned(@this, owner_pid, _default = %{}, @timeout) pending = for {_mock, expected_funs} <- all_expectations,