mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 16:02:18 +00:00
fix for test on mac
This commit is contained in:
parent
e02101e15c
commit
aa1f97a5b6
|
@ -8,7 +8,7 @@ defmodule Pleroma.UtilsTest do
|
||||||
describe "tmp_dir/1" do
|
describe "tmp_dir/1" do
|
||||||
test "returns unique temporary directory" do
|
test "returns unique temporary directory" do
|
||||||
{:ok, path} = Pleroma.Utils.tmp_dir("emoji")
|
{:ok, path} = Pleroma.Utils.tmp_dir("emoji")
|
||||||
assert path =~ ~r/\/tmp\/emoji-(.*)-#{:os.getpid()}-(.*)/
|
assert path =~ ~r/\/emoji-(.*)-#{:os.getpid()}-(.*)/
|
||||||
File.rm_rf(path)
|
File.rm_rf(path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue