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:18:41 UTC
[couchdb] branch main updated: Removed unused variable in merge
headers unit test
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 52575df Removed unused variable in merge headers unit test
52575df is described below
commit 52575df88ae4b268502c3a4b5e4ca36a46842389
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"}], [])),