Skip to content

Commit 517443b

Browse files
authored
Merge pull request erlang#7026 from Maria-12648430/fix_uri_string_proptest
Rename function `map/0` in `uri_string_recompose` property test
2 parents fb6db59 + 4f9dcc1 commit 517443b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/stdlib/test/property_test/uri_string_recompose.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ prop_recompose() ->
8484
Map =:= uri_string:parse(uri_string:recompose(Map))).
8585

8686
prop_normalize() ->
87-
?FORALL(Map, map(),
87+
?FORALL(Map, property_map(),
8888
uri_string:percent_decode(
8989
uri_string:normalize(Map, [return_map])) =:=
9090
uri_string:percent_decode(
@@ -94,11 +94,11 @@ prop_normalize() ->
9494

9595
%% Stats
9696
prop_map_key_length_collect() ->
97-
?FORALL(List, map(),
97+
?FORALL(List, property_map(),
9898
collect(length(maps:keys(List)), true)).
9999

100100
prop_map_collect() ->
101-
?FORALL(List, map(),
101+
?FORALL(List, property_map(),
102102
collect(lists:sort(maps:keys(List)), true)).
103103

104104
prop_scheme_collect() ->
@@ -110,7 +110,7 @@ prop_scheme_collect() ->
110110
%%% Generators
111111
%%%========================================================================
112112

113-
map() ->
113+
property_map() ->
114114
?LET(Gen, comp_proplist(), proplist_to_map(Gen)).
115115

116116
map_no_unicode() ->

0 commit comments

Comments
 (0)