fixes after rebase

This commit is contained in:
Alexander Strizhakov 2020-09-24 09:42:30 +03:00
commit 5d7ec00bed
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
4 changed files with 25 additions and 29 deletions

View file

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