From 82215a5d1323351ba52328103835b42b798430c5 Mon Sep 17 00:00:00 2001 From: Kelvin Stinghen Date: Mon, 27 Jan 2025 13:15:03 -0300 Subject: [PATCH] Add LiveViewTest.assert_* macros to locals_without_parens config (#5991) --- .formatter.exs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.formatter.exs b/.formatter.exs index 6a017ae873..e9b13e6e35 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -76,7 +76,24 @@ locals_without_parens = [ on_mount: 1, slot: 1, slot: 2, - slot: 3 + slot: 3, + + # Phoenix.LiveViewTest + assert_patch: 1, + assert_patch: 2, + assert_patch: 3, + assert_patched: 2, + assert_push_event: 3, + assert_push_event: 4, + assert_redirect: 1, + assert_redirect: 2, + assert_redirect: 3, + assert_redirected: 2, + assert_reply: 2, + assert_reply: 3, + refute_redirected: 2, + refute_push_event: 3, + refute_push_event: 4 ] [