summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2020-10-12 13:07:11 -0400
committerNick Vatamaniuc <vatamane@apache.org>2020-10-12 13:07:11 -0400
commit7d1492a11e7b128d6c29e60a243b71c1b4d9a51d (patch)
treefdada07a943daf3369a94d9343b281eebf98b9f1
parent4246e9fb4d5e442944f43709e1cbec8f9ff02593 (diff)
downloadcouchdb-fix-replicator-merge-headers-test.tar.gz
Removed unused variable in merge headers unit testfix-replicator-merge-headers-test
`Headers1` is not used anywhere
-rw-r--r--src/couch_replicator/src/couch_replicator_httpc.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator_httpc.erl b/src/couch_replicator/src/couch_replicator_httpc.erl
index 53158f9a2..cffeb8685 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"}], [])),