Skip to content

Commit 82215a5

Browse files
authored
Add LiveViewTest.assert_* macros to locals_without_parens config (#5991)
1 parent bd589f1 commit 82215a5

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.formatter.exs

+18-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,24 @@ locals_without_parens = [
7676
on_mount: 1,
7777
slot: 1,
7878
slot: 2,
79-
slot: 3
79+
slot: 3,
80+
81+
# Phoenix.LiveViewTest
82+
assert_patch: 1,
83+
assert_patch: 2,
84+
assert_patch: 3,
85+
assert_patched: 2,
86+
assert_push_event: 3,
87+
assert_push_event: 4,
88+
assert_redirect: 1,
89+
assert_redirect: 2,
90+
assert_redirect: 3,
91+
assert_redirected: 2,
92+
assert_reply: 2,
93+
assert_reply: 3,
94+
refute_redirected: 2,
95+
refute_push_event: 3,
96+
refute_push_event: 4
8097
]
8198

8299
[

0 commit comments

Comments
 (0)