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/09/12 20:09:04 UTC

[couchdb] 21/28: 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

commit 2c6d86b57c731c1af0e72e0d51dcae4f8744877d
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>.