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:30 UTC

[22/50] meck commit: updated refs/heads/master to 3544aca

Fix errors in capture/5, capture/6 documentation


Project: http://git-wip-us.apache.org/repos/asf/couchdb-meck/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-meck/commit/138cfb7b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-meck/tree/138cfb7b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-meck/diff/138cfb7b

Branch: refs/heads/master
Commit: 138cfb7b73e5acf2791cedb7288c5509e554b968
Parents: 10c5063
Author: Marco Molteni <ma...@laposte.net>
Authored: Sat Apr 15 18:37:14 2017 +0200
Committer: Marco Molteni <ma...@laposte.net>
Committed: Sat Apr 15 18:37:14 2017 +0200

----------------------------------------------------------------------
 src/meck.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/138cfb7b/src/meck.erl
----------------------------------------------------------------------
diff --git a/src/meck.erl b/src/meck.erl
index adb09e8..7206f7c 100644
--- a/src/meck.erl
+++ b/src/meck.erl
@@ -643,7 +643,7 @@ is(MatcherImpl) ->
 %%
 %% If an occurrence of a function call irrespective of the calling process needs
 %% to be captured then `_' might be passed as `OptCallerPid', but it is better
-%% to use {@link capture/3} instead.
+%% to use {@link capture/5} instead.
 -spec capture(Occur, Mod, Func, OptArgsSpec, ArgNum, OptCallerPid) -> ArgValue when
       Occur :: first | last | pos_integer(),
       Mod :: atom(),
@@ -667,7 +667,7 @@ capture(Occur, Mod, Func, OptArgsSpec, ArgNum, OptCallerPid) ->
 %% retrieve the argument value passed when the function was called the first
 %% or the last time respectively.
 %%
-%% @equiv capture(Occur, '_', Mod, Func, OptArgsSpec, ArgNum)
+%% @equiv capture(Occur, Mod, Func, OptArgsSpec, ArgNum, '_')
 -spec capture(Occur, Mod, Func, OptArgsSpec, ArgNum) -> ArgValue when
       Occur :: first | last | pos_integer(),
       Mod::atom(),