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:
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