changes after rebase

This commit is contained in:
Alexander Strizhakov 2020-10-13 17:10:34 +03:00
commit 4c4ea9a348
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
12 changed files with 5 additions and 12 deletions

View file

@ -1,15 +0,0 @@
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.UtilsTest do
use ExUnit.Case, async: true
describe "tmp_dir/1" do
test "returns unique temporary directory" do
{:ok, path} = Pleroma.Utils.tmp_dir("emoji")
assert path =~ ~r/\/emoji-(.*)-#{:os.getpid()}-(.*)/
File.rm_rf(path)
end
end
end