Skip to content

Commit fad2946

Browse files
authored
improvement: Update argument error message about apply_igniter in test (#305)
1 parent 494bb93 commit fad2946

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/igniter.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ defmodule Igniter do
10741074
def do_or_dry_run(igniter, opts \\ []) do
10751075
if igniter.assigns[:test_mode?] do
10761076
raise ArgumentError,
1077-
"Must `Igniter.Test.apply/1` instead of `Igniter.do_or_dry_run` when running in `test_mode?`."
1077+
"Must `Igniter.Test.apply_igniter/1` instead of `Igniter.do_or_dry_run` when running in `test_mode?`."
10781078
end
10791079

10801080
igniter = prepare_for_write(igniter)

0 commit comments

Comments
 (0)