aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-04-08 12:13:57 +0200
committerHans Bolinder <[email protected]>2016-04-18 13:17:17 +0200
commit7986d60dac9687b3aef3115f0dccc86003a681e6 (patch)
treeb370c3037e61073b0d060a4cf938856b3dff17b0 /lib/stdlib/test
parentec828d3981e59e746a58977034d1020be3ff8915 (diff)
downloadotp-7986d60dac9687b3aef3115f0dccc86003a681e6.tar.gz
otp-7986d60dac9687b3aef3115f0dccc86003a681e6.tar.bz2
otp-7986d60dac9687b3aef3115f0dccc86003a681e6.zip
stdlib: The type map() is built-in
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/erl_lint_SUITE.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl
index 29a389d4b8..6fea198af3 100644
--- a/lib/stdlib/test/erl_lint_SUITE.erl
+++ b/lib/stdlib/test/erl_lint_SUITE.erl
@@ -2703,9 +2703,8 @@ otp_11872(Config) when is_list(Config) ->
t() ->
1.
">>,
- {error,[{6,erl_lint,{undefined_type,{product,0}}},
- {8,erl_lint,{undefined_type,{dict,0}}}],
- [{8,erl_lint,{new_builtin_type,{map,0}}}]} =
+ {errors,[{6,erl_lint,{undefined_type,{product,0}}},
+ {8,erl_lint,{builtin_type,{map,0}}}], []} =
run_test2(Config, Ts, []),
ok.
@@ -3689,7 +3688,7 @@ maps_type(Config) when is_list(Config) ->
t(M) -> M.
">>,
[],
- {warnings,[{3,erl_lint,{new_builtin_type,{map,0}}}]}}],
+ {errors,[{3,erl_lint,{builtin_type,{map,0}}}],[]}}],
[] = run(Config, Ts),
ok.