diff --git a/lib/credo/check/readability/specs.ex b/lib/credo/check/readability/specs.ex index 9843e9cd1..42ecb2672 100644 --- a/lib/credo/check/readability/specs.ex +++ b/lib/credo/check/readability/specs.ex @@ -110,11 +110,12 @@ defmodule Credo.Check.Readability.Specs do end defp issue_for(issue_meta, line_no, trigger) do - trigger = if is_tuple(trigger) do - Macro.to_string(trigger) - else - trigger - end + trigger = + if is_tuple(trigger) do + Macro.to_string(trigger) + else + trigger + end format_issue( issue_meta, diff --git a/test/credo/check/readability/specs_test.exs b/test/credo/check/readability/specs_test.exs index 3d21d330f..18636f728 100644 --- a/test/credo/check/readability/specs_test.exs +++ b/test/credo/check/readability/specs_test.exs @@ -125,7 +125,6 @@ defmodule Credo.Check.Readability.SpecsTest do |> refute_issues() end - # # cases raising issues #