Skip to content

Commit

Permalink
Fix occational error in header comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
parroty committed Nov 15, 2020
1 parent f8fb7fe commit 7be7203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/recorder_httpc_test.exs
Expand Up @@ -117,7 +117,7 @@ defmodule ExVCR.RecorderHttpcTest do
ExVCR.Config.response_headers_blacklist(["Date"])
use_cassette "remove_blacklisted_headers" do
{:ok, {_, headers, _}} = :httpc.request(@url)
assert headers == [{'server', 'Cowboy'}, {'content-length', '13'}]
assert Enum.sort(headers) == Enum.sort([{'server', 'Cowboy'}, {'content-length', '13'}])
end
ExVCR.Config.response_headers_blacklist([])
end
Expand Down

0 comments on commit 7be7203

Please sign in to comment.