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 <vatam...@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"}], [])),