Skip to content

Commit

Permalink
Remove dialyzer attributes when creating mock
Browse files Browse the repository at this point in the history
  • Loading branch information
eproxus committed Jun 28, 2017
1 parent a32733d commit 3b772d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/meck_code_gen.erl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ get_current_call() ->
attribute({Key, _Value}, Attrs)
when Key =:= vsn;
Key =:= deprecated;
Key =:= optional_callbacks ->
Key =:= optional_callbacks;
Key =:= dialyzer ->
Attrs;
attribute({Key, Value}, Attrs)
when (Key =:= behaviour orelse Key =:= behavior)
Expand Down

0 comments on commit 3b772d0

Please sign in to comment.