X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Futils_test.exs;h=460f7e0b5ceb2c9440b5a01c64d18577040770d9;hb=8bacdc36806efd01a7897359ff0fd2c8e24730d2;hp=3a730d545fe23288b955e1721e18e05cdcc337e0;hpb=436d1a3c41fc92183efffb81cc041ca270025d02;p=akkoma 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