Skip to content

Commit

Permalink
Merge pull request erlang#7026 from Maria-12648430/fix_uri_string_pro…
Browse files Browse the repository at this point in the history
…ptest

Rename function `map/0` in `uri_string_recompose` property test
  • Loading branch information
u3s authored Mar 27, 2023
2 parents fb6db59 + 4f9dcc1 commit 517443b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/stdlib/test/property_test/uri_string_recompose.erl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ prop_recompose() ->
Map =:= uri_string:parse(uri_string:recompose(Map))).

prop_normalize() ->
?FORALL(Map, map(),
?FORALL(Map, property_map(),
uri_string:percent_decode(
uri_string:normalize(Map, [return_map])) =:=
uri_string:percent_decode(
Expand All @@ -94,11 +94,11 @@ prop_normalize() ->

%% Stats
prop_map_key_length_collect() ->
?FORALL(List, map(),
?FORALL(List, property_map(),
collect(length(maps:keys(List)), true)).

prop_map_collect() ->
?FORALL(List, map(),
?FORALL(List, property_map(),
collect(lists:sort(maps:keys(List)), true)).

prop_scheme_collect() ->
Expand All @@ -110,7 +110,7 @@ prop_scheme_collect() ->
%%% Generators
%%%========================================================================

map() ->
property_map() ->
?LET(Gen, comp_proplist(), proplist_to_map(Gen)).

map_no_unicode() ->
Expand Down

0 comments on commit 517443b

Please sign in to comment.