Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 27, 2025
1 parent 9f3d4c2 commit 4c4b3d2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions lib/mix/tasks/igniter.gen.task.ex
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,11 @@ defmodule Mix.Tasks.Igniter.Gen.Task do
# Groups allow for overlapping arguments for tasks by the same author
# See the generators guide for more.
group: #{inspect(app_name)},
# dependencies to add
# *other* dependencies to add
# i.e `{:foo, "~> 2.0"}`
adds_deps: [],
# dependencies to add and call their associated installers, if they exist
# *other* dependencies to add and call their associated installers, if they exist
# i.e `{:foo, "~> 2.0"}`
installs: [],
# An example invocation
example: __MODULE__.Docs.example(),
Expand Down
18 changes: 12 additions & 6 deletions test/mix/tasks/igniter.gen.task_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ defmodule Mix.Tasks.Igniter.Gen.TaskTest do
# Groups allow for overlapping arguments for tasks by the same author
# See the generators guide for more.
group: :test,
# dependencies to add
# *other* dependencies to add
# i.e `{:foo, "~> 2.0"}`
adds_deps: [],
# dependencies to add and call their associated installers, if they exist
# *other* dependencies to add and call their associated installers, if they exist
# i.e `{:foo, "~> 2.0"}`
installs: [],
# An example invocation
example: __MODULE__.Docs.example(),
Expand Down Expand Up @@ -139,9 +141,11 @@ defmodule Mix.Tasks.Igniter.Gen.TaskTest do
# Groups allow for overlapping arguments for tasks by the same author
# See the generators guide for more.
group: :test,
# dependencies to add
# *other* dependencies to add
# i.e `{:foo, "~> 2.0"}`
adds_deps: [],
# dependencies to add and call their associated installers, if they exist
# *other* dependencies to add and call their associated installers, if they exist
# i.e `{:foo, "~> 2.0"}`
installs: [],
# An example invocation
example: @example,
Expand Down Expand Up @@ -190,9 +194,11 @@ defmodule Mix.Tasks.Igniter.Gen.TaskTest do
# Groups allow for overlapping arguments for tasks by the same author
# See the generators guide for more.
group: :test,
# dependencies to add
# *other* dependencies to add
# i.e `{:foo, "~> 2.0"}`
adds_deps: [],
# dependencies to add and call their associated installers, if they exist
# *other* dependencies to add and call their associated installers, if they exist
# i.e `{:foo, "~> 2.0"}`
installs: [],
# An example invocation
example: __MODULE__.Docs.example(),
Expand Down

0 comments on commit 4c4b3d2

Please sign in to comment.