aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_lint_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-01-19 10:37:06 +0100
committerHans Bolinder <[email protected]>2018-01-22 15:28:51 +0100
commita92b77d7cd19947bd3896dcd96c7e389efdec2de (patch)
tree1df1ef37f818785ef87c8bf567089ff55c93c2b7 /lib/stdlib/test/erl_lint_SUITE.erl
parentbd873955db32c470f082c3629627a10c84c9c208 (diff)
downloadotp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.gz
otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.bz2
otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.zip
stdlib: Correct contracts
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r--lib/stdlib/test/erl_lint_SUITE.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl
index b76bece07f..272a71432a 100644
--- a/lib/stdlib/test/erl_lint_SUITE.erl
+++ b/lib/stdlib/test/erl_lint_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -3981,8 +3981,9 @@ non_latin1_module(Config) ->
do_non_latin1_module(Mod) ->
File = atom_to_list(Mod) ++ ".erl",
- Forms = [{attribute,1,file,{File,1}},
- {attribute,1,module,Mod},
+ L1 = erl_anno:new(1),
+ Forms = [{attribute,L1,file,{File,1}},
+ {attribute,L1,module,Mod},
{eof,2}],
error = compile:forms(Forms),
{error,_,[]} = compile:forms(Forms, [return]),