diff options
author | Björn Gustavsson <[email protected]> | 2014-03-26 12:30:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-03-26 12:30:07 +0100 |
commit | 93e120f61d45e3b18bd098eb2fa46a1c10546935 (patch) | |
tree | 70cd1c9dbf4169fc3d47f262ebc24fbc4c194408 /lib/stdlib/test/erl_lint_SUITE.erl | |
parent | 1876500bc26fa5543711d0de17e6b11e00f80356 (diff) | |
parent | 3818e3c93fa66a21153981691b0e27886ee0e5a5 (diff) | |
download | otp-93e120f61d45e3b18bd098eb2fa46a1c10546935.tar.gz otp-93e120f61d45e3b18bd098eb2fa46a1c10546935.tar.bz2 otp-93e120f61d45e3b18bd098eb2fa46a1c10546935.zip |
Merge branch 'bjorn/stdlib/otp_internal'
* bjorn/stdlib/otp_internal:
otp_internal: No longer warn for funtions removed in R13B
otp_internal: Postpone removals from R17 to OTP 18
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_lint_SUITE.erl | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl index f822986981..bb14de333d 100644 --- a/lib/stdlib/test/erl_lint_SUITE.erl +++ b/lib/stdlib/test/erl_lint_SUITE.erl @@ -1279,10 +1279,9 @@ guard(Config) when is_list(Config) -> tuple. ">>, [nowarn_obsolete_guard], - {error, + {errors, [{6,erl_lint,illegal_guard_expr},{18,erl_lint,illegal_guard_expr}], - [{18,erl_lint,{removed,{erlang,is_constant,1}, - "Removed in R13B"}}]}}, + []}}, {guard2, <<"-record(apa,{}). t1(A) when atom(A), atom(A) -> @@ -1341,14 +1340,11 @@ guard(Config) when is_list(Config) -> tuple. ">>, [nowarn_obsolete_guard], - {error,[{6,erl_lint,illegal_guard_expr}, - {6,erl_lint,illegal_guard_expr}, - {18,erl_lint,illegal_guard_expr}, - {18,erl_lint,illegal_guard_expr}], - [{18,erl_lint,{removed,{erlang,is_constant,1}, - "Removed in R13B"}}, - {18,erl_lint,{removed,{erlang,is_constant,1}, - "Removed in R13B"}}]}}, + {errors,[{6,erl_lint,illegal_guard_expr}, + {6,erl_lint,illegal_guard_expr}, + {18,erl_lint,illegal_guard_expr}, + {18,erl_lint,illegal_guard_expr}], + []}}, {guard3, <<"-record(apa,{}). t2(A) when atom(A); atom(A) -> |