Skip to content

Commit 42f88ff

Browse files
committed
Update assertions.ex
1 parent 8b353fd commit 42f88ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/assertions.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ defmodule Assertions do
261261
true
262262
263263
"""
264-
@spec assert_map_in_list(map, [map], [any]) :: true | no_return
264+
@spec assert_map_in_list(map, [map], nonempty_list(any)) :: true | no_return
265265
@spec assert_map_in_list(map, [map], comparison) :: true | no_return
266266
defmacro assert_map_in_list(map, list, keys_or_comparison) do
267267
assertion =
@@ -328,7 +328,7 @@ defmodule Assertions do
328328
true
329329
330330
"""
331-
@spec assert_maps_equal(map, map, [any]) :: true | no_return
331+
@spec assert_maps_equal(map, map, nonempty_list(any)) :: true | no_return
332332
@spec assert_maps_equal(map, map, comparison) :: true | no_return
333333
defmacro assert_maps_equal(left, right, keys_or_comparison) do
334334
assertion =

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Assertions.MixProject do
55
[
66
app: :assertions,
77
version: "0.19.0",
8-
elixir: "~> 1.7",
8+
elixir: "~> 1.14",
99
deps: deps(),
1010
description: description(),
1111
package: package(),

0 commit comments

Comments
 (0)