Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

16 Zeilen
448B

  1. # Pleroma: A lightweight social networking server
  2. # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. defmodule Pleroma.UtilsTest do
  5. use ExUnit.Case, async: true
  6. describe "tmp_dir/1" do
  7. test "returns unique temporary directory" do
  8. {:ok, path} = Pleroma.Utils.tmp_dir("emoji")
  9. assert path =~ ~r/\/emoji-(.*)-#{:os.getpid()}-(.*)/
  10. File.rm_rf(path)
  11. end
  12. end
  13. end