Skip to content

Commit

Permalink
Fix warnings on Elixir 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Dec 8, 2023
1 parent d4422d7 commit 9a78b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .template.debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>Experimental Credo Debug Log</h1>
<p>
Analysis in
<code>
<%= File.cwd! %>
<%= File.cwd!() %>
</code> took
<strong><%= @time_total %> ms</strong> (<%= @time_load %> ms to load, <%= @time_run %> ms running checks)
</p>
Expand Down
2 changes: 1 addition & 1 deletion test/credo/check/readability/module_doc_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ defmodule Credo.Check.Readability.ModuleDocTest do

test "it should report slightly unexpected code" do
"""
defmodule Person, do: def greet(), do: :howdy
defmodule Person, do: def(greet(), do: :howdy)
"""
|> to_source_file
|> run_check(@described_check)
Expand Down

0 comments on commit 9a78b89

Please sign in to comment.