From b1ef181a5d76a1bdf8f51297eec885a6a5f788f6 Mon Sep 17 00:00:00 2001 From: Nikola Jichev Date: Tue, 30 Apr 2024 18:47:40 +0300 Subject: [PATCH] Fix formatting --- .../application_config_in_module_attribute_test.exs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/credo/check/warning/application_config_in_module_attribute_test.exs b/test/credo/check/warning/application_config_in_module_attribute_test.exs index a79efc7a8..6759de6f0 100644 --- a/test/credo/check/warning/application_config_in_module_attribute_test.exs +++ b/test/credo/check/warning/application_config_in_module_attribute_test.exs @@ -101,8 +101,11 @@ defmodule Credo.Check.Warning.ApplicationConfigInModuleAttributeTest do defp error_exists?(errors, error_message, {line_no, column}, trigger) do Enum.any?(errors, fn - %Credo.Issue{message: ^error_message, line_no: ^line_no, column: ^column, trigger: ^trigger} -> true - _ -> false + %Credo.Issue{message: ^error_message, line_no: ^line_no, column: ^column, trigger: ^trigger} -> + true + + _ -> + false end) end end