You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2020/10/12 17:11:35 UTC
[couchdb] branch fix-replicator-merge-headers-test created (now
7d1492a)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch fix-replicator-merge-headers-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 7d1492a Removed unused variable in merge headers unit test
This branch includes the following new commits:
new 7d1492a Removed unused variable in merge headers unit test
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Removed unused variable in merge headers unit test
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch fix-replicator-merge-headers-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 7d1492a11e7b128d6c29e60a243b71c1b4d9a51d
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Mon Oct 12 13:07:11 2020 -0400
Removed unused variable in merge headers unit test
`Headers1` is not used anywhere
---
src/couch_replicator/src/couch_replicator_httpc.erl | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/couch_replicator/src/couch_replicator_httpc.erl b/src/couch_replicator/src/couch_replicator_httpc.erl
index 53158f9..cffeb86 100644
--- a/src/couch_replicator/src/couch_replicator_httpc.erl
+++ b/src/couch_replicator/src/couch_replicator_httpc.erl
@@ -507,7 +507,6 @@ merge_headers(Headers1, Headers2) when is_list(Headers1), is_list(Headers2) ->
merge_headers_test() ->
- Headers1 = [{"a", "x"}, {"a", "y"}, {"A", "z"}],
?assertEqual([], merge_headers([], [])),
?assertEqual([{"a", "x"}], merge_headers([], [{"a", "x"}])),
?assertEqual([{"a", "x"}], merge_headers([{"a", "x"}], [])),