summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-24 10:46:09 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-24 10:46:09 +0300
commitaa1f97a5b6904aec38621c9af79a81b5a7b62e30 (patch)
treea71fde6c0ba6b7e770a1ac0b8c035cc465cc2d0c
parente02101e15c425416975f756aca7f3b058006668d (diff)
fix for test on mac
-rw-r--r--test/utils_test.exs2
1 files changed, 1 insertions, 1 deletions
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