HttpRequestMock: Remove useless `error = error`
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 25 Aug 2019 06:55:29 +0000 (08:55 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 25 Aug 2019 06:55:29 +0000 (08:55 +0200)
test/support/http_request_mock.ex

index 320244c75219731a8817be478675daa21abed752..314b20a457aa259934214984a725f8c447db2039 100644 (file)
@@ -18,8 +18,6 @@ defmodule HttpRequestMock do
       res
     else
       error ->
-        error = error
-
         with {:error, message} <- error do
           Logger.warn(message)
         end