summaryrefslogtreecommitdiff
path: root/test/runtime_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-01-28 18:23:59 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-01-28 18:23:59 +0400
commit2ddd1bb0887425effd1c59f358e1dc2c5b98f65c (patch)
tree5c49d3714f4e3e611aa13a4e80765bb0c6f8b1c6 /test/runtime_test.exs
parentb12f3064730648de992f934cf5a23cadb5206b9d (diff)
downloadpleroma-2ddd1bb0887425effd1c59f358e1dc2c5b98f65c.tar.gz
pleroma-2ddd1bb0887425effd1c59f358e1dc2c5b98f65c.zip
Fix compatibility with Elixir v1.10
Diffstat (limited to 'test/runtime_test.exs')
-rw-r--r--test/runtime_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtime_test.exs b/test/runtime_test.exs
index f7b6f23d4..6bde608ae 100644
--- a/test/runtime_test.exs
+++ b/test/runtime_test.exs
@@ -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