Skip to content

Commit e4a10a0

Browse files
committed
Remove overlapping clause
1 parent 0871355 commit e4a10a0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/phoenix_test/assertions.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,6 @@ defmodule PhoenixTest.Assertions do
468468
&Query.find_by_label(&1, selector, label, Opts.to_list(opts))
469469
end
470470

471-
defp finder_fun(selector, %Opts{text: :no_text, value: :no_value, selected: :no_selected} = opts, _operation) do
472-
&Query.find(&1, selector, Opts.to_list(opts))
473-
end
474-
475471
defp finder_fun(selector, %Opts{text: :no_text, value: value, selected: :no_selected} = opts, _operation) do
476472
value_finder_fun(ensure_binary(value), selector, opts)
477473
end

0 commit comments

Comments
 (0)