Skip to content

Commit

Permalink
Update assertions.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
balysv committed Jun 25, 2024
1 parent 8b353fd commit 9a08eab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/assertions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ defmodule Assertions do
true
"""
@spec assert_map_in_list(map, [map], [any]) :: true | no_return
@spec assert_map_in_list(map, [map], comparison) :: true | no_return
@spec assert_map_in_list(map, [map], nonempty_list(any)) :: true | no_return
defmacro assert_map_in_list(map, list, keys_or_comparison) do
assertion =
assertion(
Expand Down Expand Up @@ -328,7 +327,7 @@ defmodule Assertions do
true
"""
@spec assert_maps_equal(map, map, [any]) :: true | no_return
@spec assert_maps_equal(map, map, nonempty_list(any)) :: true | no_return
@spec assert_maps_equal(map, map, comparison) :: true | no_return
defmacro assert_maps_equal(left, right, keys_or_comparison) do
assertion =
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Assertions.MixProject do
[
app: :assertions,
version: "0.19.0",
elixir: "~> 1.7",
elixir: "~> 1.14",
deps: deps(),
description: description(),
package: package(),
Expand Down

0 comments on commit 9a08eab

Please sign in to comment.