Skip to content

Commit c5b6da1

Browse files
committed
Mix format on Elixir v1.18
1 parent e55d1b5 commit c5b6da1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/grax/schema/inheritance.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ defmodule Grax.Schema.Inheritance do
1111
def inherit_properties(child_schema, parent_schema, properties) do
1212
parent_schema
1313
|> inherited_properties(Map.keys(properties))
14-
|> Map.new(fn {name, property_schema} -> {name, %{property_schema | schema: child_schema}} end)
14+
|> Map.new(fn {name, property_schema} ->
15+
{name, %{property_schema | schema: child_schema}}
16+
end)
1517
|> Map.merge(properties)
1618
end
1719

test/grax/additional_statements_test.exs

+3-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ defmodule Grax.AdditionalStatementsTest do
167167
%Example.User{
168168
Example.user(EX.User0)
169169
| __additional_statements__:
170-
AdditionalStatements.new(%{RDF.type() => [RDF.iri(EX.User), RDF.iri(EX.Foo)]})
170+
AdditionalStatements.new(%{
171+
RDF.type() => [RDF.iri(EX.User), RDF.iri(EX.Foo)]
172+
})
171173
}
172174
end
173175
end

0 commit comments

Comments
 (0)