From 4c4b3d21e4852c17a13115af8b3c0b700a890b67 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Sun, 26 Jan 2025 22:41:16 -0500 Subject: [PATCH] chore: fix tests --- lib/mix/tasks/igniter.gen.task.ex | 6 ++++-- test/mix/tasks/igniter.gen.task_test.exs | 18 ++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/lib/mix/tasks/igniter.gen.task.ex b/lib/mix/tasks/igniter.gen.task.ex index f100789..30437fd 100644 --- a/lib/mix/tasks/igniter.gen.task.ex +++ b/lib/mix/tasks/igniter.gen.task.ex @@ -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(), diff --git a/test/mix/tasks/igniter.gen.task_test.exs b/test/mix/tasks/igniter.gen.task_test.exs index 9086900..ca6b63f 100644 --- a/test/mix/tasks/igniter.gen.task_test.exs +++ b/test/mix/tasks/igniter.gen.task_test.exs @@ -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(), @@ -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, @@ -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(),