diff --git a/.credo.exs b/.credo.exs index 84ed94c..da0850d 100644 --- a/.credo.exs +++ b/.credo.exs @@ -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]}, diff --git a/test/igniter_test.exs b/test/igniter_test.exs index f891c48..99b8fd0 100644 --- a/test/igniter_test.exs +++ b/test/igniter_test.exs @@ -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