couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [05/50] meck commit: updated refs/heads/master to dde7590
Date Thu, 31 Jul 2014 21:30:59 GMT
Fix unqualified function call


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

Branch: refs/heads/master
Commit: 51c89b95c235631f1e174fdacbf8b8c01535b513
Parents: 4b08504
Author: Maxim Vladimirsky <mvladimirsky@five9.com>
Authored: Tue Feb 19 13:58:00 2013 +0400
Committer: Maxim Vladimirsky <maxim@maigunhq.com>
Committed: Sun May 26 23:20:27 2013 +0400

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


http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/51c89b95/src/meck_proc.erl
----------------------------------------------------------------------
diff --git a/src/meck_proc.erl b/src/meck_proc.erl
index a14f5bf..04cdadd 100644
--- a/src/meck_proc.erl
+++ b/src/meck_proc.erl
@@ -424,10 +424,11 @@ compile_expects(Mod, Expects) ->
     %% If the recompilation is made by the server that executes a module
     %% no module that is called from meck_code:compile_and_load_forms/2
     %% can be mocked by meck.
-    CompilerPid = spawn_link(fun() ->
-                                     Forms = meck_code_gen:to_forms(Mod, Expects),
-                                     meck_code:compile_and_load_forms(Forms)
-                             end),
+    CompilerPid =
+        erlang:spawn_link(fun() ->
+                                  Forms = meck_code_gen:to_forms(Mod, Expects),
+                                  meck_code:compile_and_load_forms(Forms)
+                          end),
     {Expects, CompilerPid}.
 
 restore_original(Mod, {false, _}, WasSticky) ->


Mime
View raw message