You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 11:06:17 UTC
[4/8] git commit: Minor test code cleanup
Minor test code cleanup
Project: http://git-wip-us.apache.org/repos/asf/couchdb-khash/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-khash/commit/858d0e3c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-khash/tree/858d0e3c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-khash/diff/858d0e3c
Branch: refs/heads/windsor-merge
Commit: 858d0e3cebc9e4814581ccd3b496f1a76a5552fe
Parents: dd6a903
Author: Paul J. Davis <pa...@gmail.com>
Authored: Sat May 11 14:50:46 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Jul 30 17:16:33 2014 +0100
----------------------------------------------------------------------
test/002-basics.t | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-khash/blob/858d0e3c/test/002-basics.t
----------------------------------------------------------------------
diff --git a/test/002-basics.t b/test/002-basics.t
index 49b7054..058b820 100755
--- a/test/002-basics.t
+++ b/test/002-basics.t
@@ -5,17 +5,15 @@
-mode(compile).
-num_cycles() -> 10000.
-
main([]) ->
code:add_pathz("test"),
util:run(12, fun() ->
- test_basic(),
+ test(),
ok
end).
-test_basic() ->
+test() ->
{ok, C} = khash:new(),
etap:is(khash:lookup(C, <<"foo">>), not_found, "Lookup missing is ok"),
etap:is(khash:get(C, <<"foo">>), undefined, "Get missing is ok"),