Page MenuHomePhorge

No OneTemporary

Size
644 B
Referenced Files
None
Subscribers
None
diff --git a/test/tesla/middleware/header_test.exs b/test/tesla/middleware/header_test.exs
index 1d1ee95..a36c539 100644
--- a/test/tesla/middleware/header_test.exs
+++ b/test/tesla/middleware/header_test.exs
@@ -1,15 +1,15 @@
defmodule Tesla.Middleware.HeadersTest do
use ExUnit.Case
alias Tesla.Env
@middleware Tesla.Middleware.Headers
test "merge headers" do
- env =
+ assert {:ok, env} =
@middleware.call(%Env{headers: [{"authorization", "secret"}]}, [], [
{"content-type", "text/plain"}
])
assert env.headers == [{"authorization", "secret"}, {"content-type", "text/plain"}]
end
end

File Metadata

Mime Type
text/x-diff
Expires
Tue, Nov 26, 12:25 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40136
Default Alt Text
(644 B)

Event Timeline