X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Femoji_test.exs;h=07ac6ff1daada3d8da311f2c512fa59c967c736e;hb=179fa32dd5d7b4cf1b338fc3df4840ae33525606;hp=cb1d62d00876da2190cadf270c53088be953ed8c;hpb=9abf832b034bf3867272bd178d168c641129eff0;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