couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [25/50] meck commit: updated refs/heads/master to dde7590
Date Thu, 31 Jul 2014 21:31:19 GMT
Use non_strict in example

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

Branch: refs/heads/master
Commit: 7e4bcc4e178d84eedd253e137315014e6971f8ef
Parents: 8a9007c
Author: Adam Lindberg <hello@alind.io>
Authored: Wed Feb 26 18:01:22 2014 +0100
Committer: Adam Lindberg <hello@alind.io>
Committed: Wed Feb 26 18:01:22 2014 +0100

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-meck/blob/7e4bcc4e/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index b77e755..36bccf8 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Here's an example of using Meck in the Erlang shell:
 
 ```erl
 Eshell V5.8.4  (abort with ^G)
-1> meck:new(dog).
+1> meck:new(dog, [non_strict]). % non_strict is used to create modules that don't exist
 ok
 2> meck:expect(dog, bark, fun() -> "Woof!" end).
 ok


Mime
View raw message