Skip to content

Commit 980f56e

Browse files
authored
Merge pull request #1133 from tomasz-tomczyk/fix-files-included
Fix the path for included files in umbrella apps
2 parents 343aa81 + 7448378 commit 980f56e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/credo/check/design/skip_test_without_comment.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Credo.Check.Design.SkipTestWithoutComment do
33
id: "EX2003",
44
base_priority: :normal,
55
param_defaults: [
6-
files: %{included: ["test/**/*_test.exs"]}
6+
files: %{included: ["**/*_test.exs"]}
77
],
88
explanations: [
99
check: """

lib/credo/check/refactor/pass_async_in_test_cases.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Credo.Check.Refactor.PassAsyncInTestCases do
33
id: "EX4031",
44
base_priority: :normal,
55
param_defaults: [
6-
files: %{included: ["test/**/*_test.exs"]}
6+
files: %{included: ["**/*_test.exs"]}
77
],
88
explanations: [
99
check: """

lib/credo/check/warning/wrong_test_file_extension.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Credo.Check.Warning.WrongTestFileExtension do
33
id: "EX5025",
44
base_priority: :high,
55
param_defaults: [
6-
files: %{included: ["test/**/*_test.ex"]}
6+
files: %{included: ["**/*_test.ex"]}
77
],
88
explanations: [
99
check: """

0 commit comments

Comments
 (0)