From 2d08b9258147acb34560eba33dfc9a68b7803753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 15 Aug 2023 15:19:19 +0200 Subject: [PATCH] Update components.ex --- test/support/live_views/components.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/live_views/components.ex b/test/support/live_views/components.ex index 23d085e5eb..fd9abc97a7 100644 --- a/test/support/live_views/components.ex +++ b/test/support/live_views/components.ex @@ -119,6 +119,7 @@ defmodule Phoenix.LiveViewTest.FunctionComponentWithAttrs do attr :attr, :any defp private_fun(assigns), do: ~H[] + def exposes_private_fun_to_avoid_warnings(assigns), do: private_fun(assigns) slot :inner_block def fun_slot(assigns), do: ~H[]