Skip to content

Commit f89c943

Browse files
author
Adriano Mitre
committed
solve unused vars on tests (Elixir 1.11 compiler)
1 parent 51056f0 commit f89c943

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/norm/core/schema_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ defmodule Norm.Core.SchemaTest do
175175

176176
test "allows defaults" do
177177
spec = schema(%Movie{})
178-
assert movie = conform(%Movie{}, spec)
178+
assert conform(%Movie{}, spec)
179179
end
180180

181181
property "can generate proper structs" do

test/norm_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ defmodule NormTest do
263263
assert {:error, _errors} = conform([{:foo, :bar} | list], spec)
264264

265265
assert list == conform!(list, coll_of(opts, [min_count: 2, distinct: true]))
266-
assert {:error, errors} = conform([], coll_of(opts, [min_count: 2, distinct: true]))
266+
assert {:error, _errors} = conform([], coll_of(opts, [min_count: 2, distinct: true]))
267267
end
268268

269269
property "can be generated" do

0 commit comments

Comments
 (0)