aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_pp_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-06-10 08:23:26 +0200
committerHans Bolinder <[email protected]>2016-06-10 08:23:26 +0200
commit77e69343b8bf6de63242cbcea7ebb35be3bb99e9 (patch)
tree5954533b7d1221aec75067cb1a56cda6350b16a7 /lib/stdlib/test/erl_pp_SUITE.erl
parent68ff9f3e4b5387cf38af7aeb1a8b7abbdaa867d8 (diff)
parentaf761914c9a94a9d54c1bcc2d4fff96a58674078 (diff)
downloadotp-77e69343b8bf6de63242cbcea7ebb35be3bb99e9.tar.gz
otp-77e69343b8bf6de63242cbcea7ebb35be3bb99e9.tar.bz2
otp-77e69343b8bf6de63242cbcea7ebb35be3bb99e9.zip
Merge branch 'hasse/no_dots_in_map_types/PR-1014'
* hasse/no_dots_in_map_types/PR-1014: Remove support for '...' in Maps types
Diffstat (limited to 'lib/stdlib/test/erl_pp_SUITE.erl')
-rw-r--r--lib/stdlib/test/erl_pp_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/stdlib/test/erl_pp_SUITE.erl b/lib/stdlib/test/erl_pp_SUITE.erl
index a48ba7b5b7..951a17d3eb 100644
--- a/lib/stdlib/test/erl_pp_SUITE.erl
+++ b/lib/stdlib/test/erl_pp_SUITE.erl
@@ -1112,15 +1112,14 @@ pr_1014(Config) ->
ok = pp_forms(<<"-type t() :: #{any() => _}. ">>),
ok = pp_forms(<<"-type t() :: #{_ => any()}. ">>),
ok = pp_forms(<<"-type t() :: #{any() => any()}. ">>),
- ok = pp_forms(<<"-type t() :: #{...}. ">>),
- ok = pp_forms(<<"-type t() :: #{atom() := integer(), ...}. ">>),
+ ok = pp_forms(<<"-type t() :: #{atom() := integer(), any() => any()}. ">>),
FileName = filename('pr_1014.erl', Config),
C = <<"-module pr_1014.\n"
"-compile export_all.\n"
"-type m() :: #{..., a := integer()}.\n">>,
ok = file:write_file(FileName, C),
- {error,[{_,[{3,erl_parse,["syntax error before: ","','"]}]}],_} =
+ {error,[{_,[{3,erl_parse,["syntax error before: ","'...'"]}]}],_} =
compile:file(FileName, [return]),
ok.