X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Femoji_test.exs;h=07ac6ff1daada3d8da311f2c512fa59c967c736e;hb=252e129b1e784147cf29868bcc191f88a9b7d5b9;hp=cb1d62d00876da2190cadf270c53088be953ed8c;hpb=9b2188da7cab43a162d441294db7d3155e2eeab3;p=akkoma diff --git a/test/emoji_test.exs b/test/emoji_test.exs index cb1d62d00..07ac6ff1d 100644 --- a/test/emoji_test.exs +++ b/test/emoji_test.exs @@ -1,3 +1,7 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2019 Pleroma Authors +# SPDX-License-Identifier: AGPL-3.0-only + defmodule Pleroma.EmojiTest do use ExUnit.Case, async: true alias Pleroma.Emoji @@ -15,7 +19,7 @@ defmodule Pleroma.EmojiTest do assert tuple_size(emoji) == 3 assert is_binary(code) assert is_binary(path) - assert is_binary(tags) + assert is_list(tags) end test "random emoji", %{emoji_list: emoji_list} do @@ -25,7 +29,7 @@ defmodule Pleroma.EmojiTest do assert tuple_size(emoji) == 3 assert is_binary(code) assert is_binary(path) - assert is_binary(tags) + assert is_list(tags) end end