This is an automated email from the ASF dual-hosted git repository. jaydoane pushed a commit to branch mango-eunit-test-fixes in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit e01efe19107072a709656e1f8fe84e8e50537161 Author: Jay Doane <jaydo...@apache.org> AuthorDate: Fri Feb 14 00:50:52 2020 -0800 Fix mango_jobs_indexer_test --- src/mango/test/eunit/mango_jobs_indexer_test.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mango/test/eunit/mango_jobs_indexer_test.erl b/src/mango/test/eunit/mango_jobs_indexer_test.erl index 9641163..2551655 100644 --- a/src/mango/test/eunit/mango_jobs_indexer_test.erl +++ b/src/mango/test/eunit/mango_jobs_indexer_test.erl @@ -76,7 +76,7 @@ index_docs(Db) -> [{id, <<"3">>}, {value, 3}], [{id, <<"4">>}, {value, 4}], [{id, <<"5">>}, {value, 5}] -], Docs). + ], Docs). index_lots_of_docs(Db) -> @@ -186,7 +186,7 @@ doc(Id) -> ]}). -query_cb({doc, Doc}, #cursor{user_acc = Acc} = Cursor) -> +query_cb({doc, _, Doc}, #cursor{user_acc = Acc} = Cursor) -> {ok, Cursor#cursor{ user_acc = Acc ++ [Doc] }}.