Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 27, 2025
1 parent 2b8a810 commit 80d2524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
#
## Refactoring Opportunities
#
{Credo.Check.Refactor.Apply, false},
{Credo.Check.Refactor.CondStatements, []},
{Credo.Check.Refactor.CyclomaticComplexity, false},
{Credo.Check.Refactor.FunctionArity, [max_arity: 13]},
Expand Down
2 changes: 1 addition & 1 deletion test/igniter_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ defmodule IgniterTest do
|> Igniter.add_notice("notice 2")

assert capture_io(fn -> Igniter.display_notices(igniter) end) ==
"\nNotices: \n\n* \e[32mnotice 1\e[0m\e[0m\n* \e[32mnotice 2\e[0m\e[0m\n\n"
"\nNotices: \n\n* \e[32mnotice 1\e[0m\e[0m\n* \e[32mnotice 2\e[0m\e[0m\n\n\e[33mNotices were printed above. Please read them all before continuing!\e[0m\e[0m\n"
end

test "prints nothing if there are no notices" do
Expand Down

0 comments on commit 80d2524

Please sign in to comment.