We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c1a87 commit f622c24Copy full SHA for f622c24
test/credo/check/readability/nested_function_calls_test.exs
@@ -10,10 +10,12 @@ defmodule Credo.Check.Readability.NestedFunctionCallsTest do
10
test "it should NOT report code with no nested function calls" do
11
"""
12
defmodule CredoSampleModule do
13
+ @callback callback_name :: Keyword.t(Some.remote(some_arg))
14
+ @macrocallback macrocallback_name :: Keyword.t(Some.remote(some_arg))
15
+ @spec spec_name :: Keyword.t(Some.remote(some_arg))
16
+ @opaque opaque_name :: Keyword.t(Some.remote(some_arg))
17
@type type_name :: Keyword.t(Some.remote(some_arg))
- def some_code(_foo) do
- Enum.shuffle([1,2,3])
- end
18
+ @typep typep_name :: Keyword.t(Some.remote(some_arg))
19
end
20
21
|> to_source_file()
0 commit comments