X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Futils_test.exs;h=460f7e0b5ceb2c9440b5a01c64d18577040770d9;hb=218a3e61e1692058aaf5f16506cbf276d2260722;hp=3a730d545fe23288b955e1721e18e05cdcc337e0;hpb=72d2b34d3bf47705ad5298f2ce2c6bf48a0a8e82;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