couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [4/8] git commit: Minor test code cleanup
Date Fri, 01 Aug 2014 09:06:17 GMT
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 <paul.joseph.davis@gmail.com>
Authored: Sat May 11 14:50:46 2013 -0500
Committer: Robert Newson <rnewson@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"),


Mime
View raw message