From: Alexander Strizhakov Date: Thu, 24 Sep 2020 07:46:09 +0000 (+0300) Subject: fix for test on mac X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=aa1f97a5b6904aec38621c9af79a81b5a7b62e30;p=akkoma fix for test on mac --- diff --git a/test/utils_test.exs b/test/utils_test.exs index 3a730d545..460f7e0b5 100644 --- a/test/utils_test.exs +++ b/test/utils_test.exs @@ -8,7 +8,7 @@ defmodule Pleroma.UtilsTest do describe "tmp_dir/1" do test "returns unique temporary directory" do {:ok, path} = Pleroma.Utils.tmp_dir("emoji") - assert path =~ ~r/\/tmp\/emoji-(.*)-#{:os.getpid()}-(.*)/ + assert path =~ ~r/\/emoji-(.*)-#{:os.getpid()}-(.*)/ File.rm_rf(path) end end