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 d43d939737d459c47a688deb790e75ce15d0c28f Author: Jay Doane <jaydo...@apache.org> AuthorDate: Thu Feb 13 21:54:03 2020 -0800 Fix mango_indexer_test The callback first argument shape changed to `{doc, SortKeys, JsonDoc}`. --- src/mango/test/eunit/mango_indexer_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mango/test/eunit/mango_indexer_test.erl b/src/mango/test/eunit/mango_indexer_test.erl index ee24b21..ba0144f 100644 --- a/src/mango/test/eunit/mango_indexer_test.erl +++ b/src/mango/test/eunit/mango_indexer_test.erl @@ -155,7 +155,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] }}.