aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-10-18 15:39:15 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-10-18 15:39:15 +0000
commit44e64af5e76e1ace82aa66973da883e334ebfc93 (patch)
treefbaeaed2c0a79fbfd053588e2886a75c60bab0d9
parente99fdfc32db231391184220eb28024d358821d27 (diff)
downloadpleroma-44e64af5e76e1ace82aa66973da883e334ebfc93.tar.gz
object: containment: simplify the pattern match for OStatus testsuite hack
-rw-r--r--lib/pleroma/object/containment.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/object/containment.ex b/lib/pleroma/object/containment.ex
index 1beb9c83d..68535c09e 100644
--- a/lib/pleroma/object/containment.ex
+++ b/lib/pleroma/object/containment.ex
@@ -36,7 +36,7 @@ defmodule Pleroma.Object.Containment do
# 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