diff --git a/test/buffy/throttle_and_timed_test.exs b/test/buffy/throttle_and_timed_test.exs index dbac19c..777f38e 100644 --- a/test/buffy/throttle_and_timed_test.exs +++ b/test/buffy/throttle_and_timed_test.exs @@ -66,14 +66,6 @@ defmodule Buffy.ThrottleAndTimedTest do supervisor_module: DynamicSupervisor, supervisor_name: MyDynamicSupervisor - def handle_throttle(:raise) do - raise RuntimeError, message: ":raise" - end - - def handle_throttle(:error) do - :error - end - def handle_throttle(%{test_pid: test_pid} = args) do send(test_pid, {:ok, args, System.monotonic_time()}) :ok @@ -87,14 +79,6 @@ defmodule Buffy.ThrottleAndTimedTest do supervisor_module: DynamicSupervisor, supervisor_name: MyDynamicSupervisor - def handle_throttle(:raise) do - raise RuntimeError, message: ":raise" - end - - def handle_throttle(:error) do - :error - end - def handle_throttle(%{test_pid: test_pid} = args) do send(test_pid, {:ok, args, System.monotonic_time()}) :ok