Skip to content

Commit e7016a3

Browse files
uesteibarjosevalim
authored andcommitted
Fix broken test for Mix.Task run callback (#6245)
1 parent 1606b0c commit e7016a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iex/test/iex/helpers_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ defmodule IEx.HelpersTest do
151151

152152
test "b helper function" do
153153
assert capture_io(fn -> b Mix.Task.stop end) == "No documentation for Mix.Task.stop was found\n"
154-
assert capture_io(fn -> b Mix.Task.run end) =~ "* @callback run([binary()]) :: any()\n\nA task needs to implement `run`"
154+
assert capture_io(fn -> b Mix.Task.run end) =~ "* @callback run(command_line_args :: [binary()]) :: any()\n\nA task needs to implement `run`"
155155
assert capture_io(fn -> b NoMix.run end) == "Could not load module NoMix, got: nofile\n"
156156
assert capture_io(fn -> b Exception.message/1 end) == "* @callback message(t()) :: String.t()\n\n\n"
157157
end

0 commit comments

Comments
 (0)