logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: aa1f97a5b6904aec38621c9af79a81b5a7b62e30
parent e02101e15c425416975f756aca7f3b058006668d
Author: Alexander Strizhakov <alex.strizhakov@gmail.com>
Date:   Thu, 24 Sep 2020 10:46:09 +0300

fix for test on mac

Diffstat:

Mtest/utils_test.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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