You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/07/31 23:30:57 UTC

[03/50] meck commit: updated refs/heads/master to dde7590

Correct spelling


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

Branch: refs/heads/master
Commit: 56893f09b0d293537b2213a95f81389fc0c4c65c
Parents: 1d33ca1
Author: Adam Lindberg <he...@alind.io>
Authored: Sat May 4 12:11:06 2013 +0200
Committer: Adam Lindberg <he...@alind.io>
Committed: Sat May 4 12:11:06 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/56893f09/src/meck_proc.erl
----------------------------------------------------------------------
diff --git a/src/meck_proc.erl b/src/meck_proc.erl
index 704ffb6..e6f0455 100644
--- a/src/meck_proc.erl
+++ b/src/meck_proc.erl
@@ -87,8 +87,8 @@ set_expect(Mod, Expect) ->
         gen_server:call(Proc, {set_expect, Expect})
     catch
         exit:{noproc, _Details} ->
-            Props = [Mod, [passthrow]],
-            case gen_server:start({local, Proc}, ?MODULE, Props, []) of
+            Options = [Mod, [passthrough]],
+            case gen_server:start({local, Proc}, ?MODULE, Options, []) of
                 {ok, Pid} ->
                     Result = gen_server:call(Proc, {set_expect, Expect}),
                     true = erlang:link(Pid),