diff --git a/test/ecto/json_test.exs b/test/ecto/json_test.exs index 38de49cb14..3e0b079213 100644 --- a/test/ecto/json_test.exs +++ b/test/ecto/json_test.exs @@ -11,7 +11,7 @@ defmodule Ecto.JsonTest do defmodule User do use Ecto.Schema - @derive Enum.map(loaded_implementations, fn {_lib, encoder} -> encoder end) + @derive Keyword.values(loaded_implementations) schema "users" do has_many :comments, Ecto.Comment end