From 9fc7394df2b16eac4382ae6dde2345e87442013d Mon Sep 17 00:00:00 2001 From: Seungjin Kim Date: Tue, 12 Dec 2023 16:56:28 -0800 Subject: [PATCH] REMOVE: unused functions --- test/buffy/throttle_and_timed_test.exs | 16 ---------------- 1 file changed, 16 deletions(-) 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