From 8148943368510d1ec27889b91067d543ed4c2f10 Mon Sep 17 00:00:00 2001 From: Maxim Filippov Date: Sun, 2 Dec 2018 22:08:53 +0300 Subject: [PATCH] Format files --- test/web/twitter_api/twitter_api_controller_test.exs | 4 +++- test/web/twitter_api/twitter_api_test.exs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index a1eb09a05..2cae8a071 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -961,7 +961,9 @@ test "it updates a user's profile", %{conn: conn} do user = Repo.get!(User, user.id) assert user.name == "new name" - assert user.bio == "hi @#{user2.nickname}" + + assert user.bio == + "hi @#{user2.nickname}" assert json_response(conn, 200) == UserView.render("user.json", %{user: user, for: user}) end diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index baeea5a9e..28230699f 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -280,7 +280,8 @@ test "it registers a new user and parses mentions in the bio" do {:ok, user2} = TwitterAPI.register_user(data2) - expected_text = "@john test" + expected_text = + "@john test" assert user2.bio == expected_text end