logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 4b3a985660f6db38eb411a34b2a61d250498eae2
parent 229ce66a8fdc7db626bdfee6a3a526ee028b510a
Author: Lain Soykaf <lain@lain.com>
Date:   Mon, 24 Feb 2025 17:15:48 +0400

PackTest: Make test more resilient

Diffstat:

Mtest/pleroma/emoji/pack_test.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pleroma/emoji/pack_test.exs b/test/pleroma/emoji/pack_test.exs @@ -62,7 +62,7 @@ defmodule Pleroma.Emoji.PackTest do path: Path.absname("test/instance_static/emoji/test_pack/blank.png") } - assert Pack.add_file(pack, nil, nil, file) == {:error, :einval} + assert {:error, _} = Pack.add_file(pack, nil, nil, file) end test "returns pack when zip file is empty", %{pack: pack} do