diff options
author | Erlang/OTP <[email protected]> | 2010-02-10 10:30:07 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-02-10 10:30:07 +0000 |
commit | 01fd07e5ca33e106640635a518f519e024c12760 (patch) | |
tree | 0d3989257d741e9a5a43d332c44a83bdaa9597e4 /lib/stdlib/test/erl_lint_SUITE.erl | |
parent | a853ee40c6475801ca03c17a11632d48a4992de7 (diff) | |
parent | a037310622f85a9ae1c083b3210c63a826dda320 (diff) | |
download | otp-01fd07e5ca33e106640635a518f519e024c12760.tar.gz otp-01fd07e5ca33e106640635a518f519e024c12760.tar.bz2 otp-01fd07e5ca33e106640635a518f519e024c12760.zip |
Merge branch 'ks/erl_lint' into ccase/r13b04_dev
* ks/erl_lint:
erl_lint_SUITE: adjust failing test case
Allow recursive types and check for undefined types
OTP-8421: ks/erl_lint
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_lint_SUITE.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl index bfbd7b3dc1..8581b496aa 100644 --- a/lib/stdlib/test/erl_lint_SUITE.erl +++ b/lib/stdlib/test/erl_lint_SUITE.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 1999-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 1999-2010. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% -module(erl_lint_SUITE). @@ -2597,7 +2597,7 @@ otp_8051(Config) when is_list(Config) -> <<"-opaque foo() :: bar(). ">>, [], - {error,[{1,erl_lint,{type_ref,{bar,0}}}], + {error,[{1,erl_lint,{undefined_type,{bar,0}}}], [{1,erl_lint,{unused_type,{foo,0}}}]}}], ?line [] = run(Config, Ts), ok. |