forked from YokaiRick/akkoma
object: containment: simplify the pattern match for OStatus testsuite hack
This commit is contained in:
parent
e99fdfc32d
commit
44e64af5e7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def get_actor(%{"actor" => nil, "attributedTo" => actor}) when not is_nil(actor)
|
|||
# objects being present in the test suite environment. Once these objects are
|
||||
# removed, please also remove this.
|
||||
if Mix.env() == :test do
|
||||
defp compare_uris(_, %URI{scheme: "tag" <> _}), do: :ok
|
||||
defp compare_uris(_, %URI{scheme: "tag"}), do: :ok
|
||||
end
|
||||
|
||||
defp compare_uris(%URI{} = id_uri, %URI{} = other_uri) do
|
||||
|
|
Loading…
Reference in a new issue