Merge branch 'fix-elixir-v1.10' into 'develop'
Fix compatibility with Elixir v1.10 See merge request pleroma/pleroma!2153
This commit is contained in:
commit
ffa9e3a2ce
@ -6,6 +6,6 @@ defmodule Pleroma.RuntimeTest do
|
|||||||
use ExUnit.Case, async: true
|
use ExUnit.Case, async: true
|
||||||
|
|
||||||
test "it loads custom runtime modules" do
|
test "it loads custom runtime modules" do
|
||||||
assert Code.ensure_compiled?(RuntimeModule)
|
assert {:module, RuntimeModule} == Code.ensure_compiled(RuntimeModule)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -19,7 +19,7 @@ defmodule HttpRequestMock do
|
|||||||
else
|
else
|
||||||
error ->
|
error ->
|
||||||
with {:error, message} <- error do
|
with {:error, message} <- error do
|
||||||
Logger.warn(message)
|
Logger.warn(to_string(message))
|
||||||
end
|
end
|
||||||
|
|
||||||
{_, _r} = error
|
{_, _r} = error
|
||||||
|
Loading…
Reference in New Issue
Block a user