We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4cfc03 commit fada0c0Copy full SHA for fada0c0
lib/plug/test.ex
@@ -282,7 +282,7 @@ defmodule Plug.Test do
282
If the session has already been initialized, the new contents will be merged
283
with the previous ones.
284
"""
285
- @spec init_test_session(Conn.t(), %{optional(String.t() | atom) => any}) :: Conn.t()
+ @spec init_test_session(Conn.t(), %{optional(String.t() | atom) => any} | keyword) :: Conn.t()
286
def init_test_session(conn, session) do
287
conn =
288
if conn.private[:plug_session_fetch] do
0 commit comments