diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-03 09:40:18 -0500 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-03 09:49:55 -0500 |
commit | cd42e2bed0039ce4939e4c55fb7fcd7cf2568b44 (patch) | |
tree | 7fff4012f8c2b51e954356a4db7cb8d9ae12820c /test | |
parent | aca11fb70ef7d9f4004d6efd10fb39261f476852 (diff) | |
download | pleroma-cd42e2bed0039ce4939e4c55fb7fcd7cf2568b44.tar.gz pleroma-cd42e2bed0039ce4939e4c55fb7fcd7cf2568b44.zip |
Lint
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/plugs/set_locale_plug_test.exs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pleroma/web/plugs/set_locale_plug_test.exs b/test/pleroma/web/plugs/set_locale_plug_test.exs index ff04a859e..f9d34bbe4 100644 --- a/test/pleroma/web/plugs/set_locale_plug_test.exs +++ b/test/pleroma/web/plugs/set_locale_plug_test.exs @@ -87,7 +87,9 @@ defmodule Pleroma.Web.Plugs.SetLocalePlugTest do |> SetLocalePlug.call([]) assert "zh_Hans" == Gettext.get_locale() - assert %{locale: "zh_Hans", locales: ["zh_Hans", "uk", "zh_Hant", "ru", "fr", "en"]} = conn.assigns + + assert %{locale: "zh_Hans", locales: ["zh_Hans", "uk", "zh_Hant", "ru", "fr", "en"]} = + conn.assigns end test "fallback to some variant of the language if the unqualified language is not supported" do |