Skip to content

Commit

Permalink
Remove unclear test
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Dec 18, 2023
1 parent a9f1d70 commit 062112e
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions test/credo/check/refactor/module_dependencies_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -81,37 +81,6 @@ defmodule Credo.Check.Refactor.ModuleDependenciesTest do
|> refute_issues()
end

test "it should NOT report a violation with excluded namespaces" do
"""
defmodule CredoSampleModule do
def some_function() do
[
DateTime,
Kernel,
GenServer,
GenEvent,
File,
Time,
IO,
Logger,
URI,
Path,
String
]
end
end
"""
|> to_source_file
|> run_check(@described_check,
excluded_namespaces: [
DateTime,
Kernel,
GenServer
]
)
|> refute_issues()
end

#
# cases raising issues
#
Expand Down

0 comments on commit 062112e

Please sign in to comment.