You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ji...@apache.org on 2019/02/20 10:55:18 UTC

[couchdb] branch allow-list-for-purge-docid updated: Address Bob's comment

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

jiangphcn pushed a commit to branch allow-list-for-purge-docid
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/allow-list-for-purge-docid by this push:
     new cfbf032  Address Bob's comment
cfbf032 is described below

commit cfbf0328a8dcc91a745f8ce01bd431482dde3905
Author: jiangph <ji...@cn.ibm.com>
AuthorDate: Wed Feb 20 18:54:41 2019 +0800

    Address Bob's comment
---
 src/couch_mrview/test/couch_mrview_purge_docs_tests.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl b/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
index da57253..1020607 100644
--- a/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
+++ b/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
@@ -108,7 +108,7 @@ test_purge_single_for_docid_with_list(Db) ->
         Rev = get_rev(FDI),
         {ok, [{ok, _PRevs}]} = couch_db:purge_docs(
             Db,
-            [{<<"UUID1">>, binary_to_list(<<"1">>), [Rev]}]
+            [{<<"UUID1">>, "1", [Rev]}]
         ),
         {ok, Db2} = couch_db:reopen(Db),
 
@@ -215,9 +215,9 @@ test_purge_complete_for_docid_with_list(Db) ->
         FDI5 = couch_db:get_full_doc_info(Db, <<"5">>), Rev5 = get_rev(FDI5),
 
         PurgeInfos = [
-            {<<"UUID1">>, binary_to_list(<<"1">>), [Rev1]},
-            {<<"UUID2">>, binary_to_list(<<"2">>), [Rev2]},
-            {<<"UUID5">>, binary_to_list(<<"5">>), [Rev5]}
+            {<<"UUID1">>, "1", [Rev1]},
+            {<<"UUID2">>, "2", [Rev2]},
+            {<<"UUID5">>, "5", [Rev5]}
         ],
         {ok, _} = couch_db:purge_docs(Db, PurgeInfos),
         {ok, Db2} = couch_db:reopen(Db),