Skip to content

Commit 7145b58

Browse files
committed
chore: format
1 parent 10a6d29 commit 7145b58

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

test/support/resources/device.ex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,41 @@ defmodule AshSqlite.Test.Device do
1414
end
1515

1616
actions do
17-
defaults [:read, :destroy]
17+
defaults([:read, :destroy])
1818

1919
create :create do
20-
primary? true
21-
accept [:id, :name, :entity]
20+
primary?(true)
21+
accept([:id, :name, :entity])
2222
end
2323

2424
update :update_entity do
25-
accept [:entity]
25+
accept([:entity])
2626
end
2727
end
2828

2929
attributes do
3030
attribute :id, :string do
31-
writable? true
32-
generated? false
33-
primary_key? true
34-
allow_nil? false
35-
public? true
31+
writable?(true)
32+
generated?(false)
33+
primary_key?(true)
34+
allow_nil?(false)
35+
public?(true)
3636
end
3737

3838
attribute :name, :string do
39-
allow_nil? false
40-
public? true
39+
allow_nil?(false)
40+
public?(true)
4141
end
4242

4343
attribute :entity, :map do
44-
allow_nil? false
45-
public? true
44+
allow_nil?(false)
45+
public?(true)
4646
end
4747

4848
timestamps()
4949
end
5050

5151
identities do
52-
identity :unique_id, [:id]
52+
identity(:unique_id, [:id])
5353
end
5454
end

test/support/resources/post.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ defmodule AshSqlite.Test.Post do
6666
end
6767

6868
update :update_stuff do
69-
accept [:stuff]
69+
accept([:stuff])
7070
end
7171

7272
destroy :destroy_only_freds do

0 commit comments

Comments
 (0)