From 9a78b89b55045794fbdf3c1f5e1378d0773df72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20F=C3=B6hring?= Date: Fri, 8 Dec 2023 13:26:24 +0100 Subject: [PATCH] Fix warnings on Elixir 1.16 --- .template.debug.html | 2 +- test/credo/check/readability/module_doc_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.template.debug.html b/.template.debug.html index 4a49d2fcd..54c5b42f2 100644 --- a/.template.debug.html +++ b/.template.debug.html @@ -25,7 +25,7 @@

Experimental Credo Debug Log

Analysis in - <%= File.cwd! %> + <%= File.cwd!() %> took <%= @time_total %> ms (<%= @time_load %> ms to load, <%= @time_run %> ms running checks)

diff --git a/test/credo/check/readability/module_doc_test.exs b/test/credo/check/readability/module_doc_test.exs index e3dd548d5..ac97832fe 100644 --- a/test/credo/check/readability/module_doc_test.exs +++ b/test/credo/check/readability/module_doc_test.exs @@ -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)