Skip to content

Commit

Permalink
Run mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Feb 9, 2024
1 parent 2dd4fb3 commit 06ae6d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lib/credo/check/readability/specs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion test/credo/check/readability/specs_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ defmodule Credo.Check.Readability.SpecsTest do
|> refute_issues()
end


#
# cases raising issues
#
Expand Down

0 comments on commit 06ae6d5

Please sign in to comment.