diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 02:30:19 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:17:30 +0100 |
commit | 6c8743d0c00e5bb6edffced4b60d3802004f9dc4 (patch) | |
tree | 27f4855ab8dc5dad576aed719b0962c8826485db /test/web/twitter_api | |
parent | d93ab4817b9e0cd5f29851722aa8ed9e39a04f32 (diff) | |
download | pleroma-6c8743d0c00e5bb6edffced4b60d3802004f9dc4.tar.gz |
[Credo] Fix the warnings
Diffstat (limited to 'test/web/twitter_api')
-rw-r--r-- | test/web/twitter_api/twitter_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index ce0812308..ec4d07f17 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -490,7 +490,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do response = json_response(conn, 200) - assert length(response) == 0 + assert Enum.empty?(response) end end |