chore: fix tests

This commit is contained in:
Zach Daniel 2023-03-13 18:41:38 -04:00
parent 1f2e8f7a09
commit 5e5511aa60

View file

@ -205,7 +205,7 @@ defmodule Ash.Test.GeneratorTest do
end
describe "built in generators" do
for type <- Enum.uniq(Enum.map(Ash.Type.builtin_types(), &elem(&1, 1))) do
for type <- Enum.uniq(Ash.Type.builtin_types()) do
Code.ensure_compiled!(type)
has_generator? = function_exported?(type, :generator, 1)