Skip to content

Commit

Permalink
fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
axelson committed Nov 30, 2024
1 parent 5b9016e commit 5277792
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/mix_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ defmodule ScenicNew.MixHelper do
is_list(match) ->
assert_file(file, &Enum.each(match, fn m -> assert &1 =~ m end))

is_binary(match) or Regex.regex?(match) ->
%Regex{} = match ->
assert_file(file, &assert(&1 =~ match))

is_binary(match) ->
assert_file(file, &assert(&1 =~ match))

is_function(match, 1) ->
Expand Down

0 comments on commit 5277792

Please sign in to comment.