We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421a77d commit 1601b30Copy full SHA for 1601b30
lib/mix/test/mix/tasks/format_test.exs
@@ -253,7 +253,8 @@ defmodule Mix.Tasks.FormatTest do
253
def format(contents, opts) do
254
assert opts[:from_formatter_exs] == :yes
255
assert opts[:extension] == ".w"
256
- assert [W: _fun] = opts[:sigils]
+ assert [W: sigil_fun] = opts[:sigils]
257
+ assert is_function(sigil_fun, 2)
258
contents |> String.split(~r/\s/) |> Enum.join("\n")
259
end
260
0 commit comments