Skip to content

Commit

Permalink
fix: Unit test (#35)
Browse files Browse the repository at this point in the history
Co-authored-by: Moritz Ploss <moritz.ploss@kivra.com>
  • Loading branch information
moritzploss and moritzploss-k authored Jul 25, 2024
1 parent d16e4af commit fb59d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instances/do_map.erl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fmap_test() ->
sequence_test() ->
?equals(#{}, sequence(#{})),
?equals({ok, #{a => 1, b => 2}}, sequence(#{a => {ok, 1}, b => {ok, 2}})),
?equals(nothing, sequence(#{a => nothing, b => {ok, 2}})),
?equals(nothing, sequence(#{a => nothing, b => {just, 2}})),
?equals([#{a => 1, b => 2}], sequence(#{a => [1], b => [2]})).

-endif.

0 comments on commit fb59d69

Please sign in to comment.