Skip to content

Commit a5041b7

Browse files
authored
Merge pull request #25 from richard-ash/richard/fix-spec
Fix `url/1` spec
2 parents 84c0e29 + e5b4fd3 commit a5041b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ defmodule TestServer do
152152
@spec url() :: binary()
153153
def url, do: url("")
154154

155-
@spec url(binary() | keyword()) :: binary()
155+
@spec url(binary() | keyword() | pid()) :: binary()
156156
def url(uri) when is_binary(uri), do: url(uri, [])
157157
def url(opts) when is_list(opts), do: url("", opts)
158158
def url(instance) when is_pid(instance), do: url(instance, "", [])

0 commit comments

Comments
 (0)