aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_lint_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-03-24 09:32:37 +0100
committerHans Bolinder <[email protected]>2014-03-24 09:32:37 +0100
commit6a6bbabb9a2d112d4381e6e5a99143d13b931c6e (patch)
tree736387955a34b4347c15bed52dcf0860be2ddcc5 /lib/stdlib/test/erl_lint_SUITE.erl
parentf725839f502c90ee14f5e2fb48a2393c29f0532d (diff)
parent1a4668ddd61802f0936e762f2f85007845e1441e (diff)
downloadotp-6a6bbabb9a2d112d4381e6e5a99143d13b931c6e.tar.gz
otp-6a6bbabb9a2d112d4381e6e5a99143d13b931c6e.tar.bz2
otp-6a6bbabb9a2d112d4381e6e5a99143d13b931c6e.zip
Merge branch 'hb/stdlib/erl_lint_map_fix'
* hb/stdlib/erl_lint_map_fix: stdlib: warn if the type map() is redefined
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r--lib/stdlib/test/erl_lint_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl
index 673a3cf159..f822986981 100644
--- a/lib/stdlib/test/erl_lint_SUITE.erl
+++ b/lib/stdlib/test/erl_lint_SUITE.erl
@@ -92,7 +92,7 @@ all() ->
bif_clash, behaviour_basic, behaviour_multiple,
otp_7550, otp_8051, format_warn, {group, on_load},
too_many_arguments, basic_errors, bin_syntax_errors, predef,
- maps,maps_type].
+ maps, maps_type].
groups() ->
[{unused_vars_warn, [],
@@ -3439,11 +3439,10 @@ maps_type(Config) when is_list(Config) ->
t(M) -> M.
">>,
[],
- {errors,[{3,erl_lint,{redefine_type,{map,0}}}],[]}}],
+ {warnings,[{3,erl_lint,{new_var_arity_type,map}}]}}],
[] = run(Config, Ts),
ok.
-
run(Config, Tests) ->
F = fun({N,P,Ws,E}, BadL) ->
case catch run_test(Config, P, Ws) of