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 2017/05/31 15:31:27 UTC

[couchdb] branch COUCHDB-3287-pluggable-storage-engines updated: Fix assertion on wrong variable

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch COUCHDB-3287-pluggable-storage-engines
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/COUCHDB-3287-pluggable-storage-engines by this push:
       new  cd42e03   Fix assertion on wrong variable
cd42e03 is described below

commit cd42e0303c871e70455d9213d5e6fc57d03ed7dc
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Wed May 31 10:31:22 2017 -0500

    Fix assertion on wrong variable
---
 src/couch/src/test_engine_fold_docs.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/test_engine_fold_docs.erl b/src/couch/src/test_engine_fold_docs.erl
index 34d7f3e..458878d 100644
--- a/src/couch/src/test_engine_fold_docs.erl
+++ b/src/couch/src/test_engine_fold_docs.erl
@@ -122,7 +122,7 @@ fold_start_key(FoldFun, DocIdFun) ->
             {dir, rev},
             {start_key, <<255>>}
         ]),
-    ?assertEqual(length(AllDocIds), length(AllDocIdAccFwd)),
+    ?assertEqual(length(AllDocIds), length(AllDocIdAccRev)),
     ?assertEqual(AllDocIds, AllDocIdAccRev),
 
     {ok, DocIdAccFwd} = Engine:FoldFun(St, fun fold_fun/2, [], [

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].