Fix compatibility with Elixir v1.10

This commit is contained in:
Egor Kislitsyn 2020-01-28 18:23:59 +04:00
commit 2ddd1bb088
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
3 changed files with 2 additions and 3 deletions

View file

@ -6,6 +6,6 @@ defmodule Pleroma.RuntimeTest do
use ExUnit.Case, async: true
test "it loads custom runtime modules" do
assert Code.ensure_compiled?(RuntimeModule)
assert {:module, RuntimeModule} == Code.ensure_compiled(RuntimeModule)
end
end