Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
silverblaze404 committed Mar 7, 2024
1 parent 1c7fc51 commit 5d5861b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pact_matchers.erl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ like(Term) when (is_integer(Term) orelse is_binary(Term) orelse is_boolean(Term)
};
like(Term) when (is_map(Term)) ->
maps:map(
fun(Key, InitValue) ->
fun(_Key, InitValue) ->
?MODULE:like(InitValue)
end,
Term
Expand All @@ -31,7 +31,7 @@ each_like(Term) when (is_integer(Term) orelse is_binary(Term) orelse is_boolean(
};
each_like(Term) when (is_map(Term)) ->
maps:map(
fun(Key, InitValue) ->
fun(_Key, InitValue) ->
?MODULE:each_like(InitValue)
end,
Term
Expand Down

0 comments on commit 5d5861b

Please sign in to comment.