Skip to content

Commit fada0c0

Browse files
authored
Add keyword to init_test_session argument type (#1277)
1 parent a4cfc03 commit fada0c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plug/test.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ defmodule Plug.Test do
282282
If the session has already been initialized, the new contents will be merged
283283
with the previous ones.
284284
"""
285-
@spec init_test_session(Conn.t(), %{optional(String.t() | atom) => any}) :: Conn.t()
285+
@spec init_test_session(Conn.t(), %{optional(String.t() | atom) => any} | keyword) :: Conn.t()
286286
def init_test_session(conn, session) do
287287
conn =
288288
if conn.private[:plug_session_fetch] do

0 commit comments

Comments
 (0)