projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix incompatible types warning (Elixir 1.11)
[akkoma]
/
test
/
utils_test.exs
diff --git
a/test/utils_test.exs
b/test/utils_test.exs
index 3a730d545fe23288b955e1721e18e05cdcc337e0..460f7e0b5ceb2c9440b5a01c64d18577040770d9 100644
(file)
--- 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")
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
File.rm_rf(path)
end
end