You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/09/28 21:02:37 UTC
[29/50] meck commit: updated refs/heads/master to 3544aca
Remove dialyzer attributes when creating mock
Project: http://git-wip-us.apache.org/repos/asf/couchdb-meck/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-meck/commit/3b772d0a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-meck/tree/3b772d0a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-meck/diff/3b772d0a
Branch: refs/heads/master
Commit: 3b772d0afc7dd3e7fcae4f256f7728e9975fb412
Parents: a32733d
Author: Adam Lindberg <he...@alind.io>
Authored: Wed Jun 28 11:21:22 2017 +0200
Committer: Adam Lindberg <he...@alind.io>
Committed: Wed Jun 28 11:21:22 2017 +0200
----------------------------------------------------------------------
src/meck_code_gen.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/3b772d0a/src/meck_code_gen.erl
----------------------------------------------------------------------
diff --git a/src/meck_code_gen.erl b/src/meck_code_gen.erl
index e6bb9f3..b7ef322 100644
--- a/src/meck_code_gen.erl
+++ b/src/meck_code_gen.erl
@@ -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)