aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_lint_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-03-17 15:12:09 +0100
committerIngela Anderton Andin <[email protected]>2017-03-20 11:54:07 +0100
commit5eeec707215ae88bf88452b0f951af6483d66716 (patch)
treeaa0b33020358e915ddcb876412588795d7b7c9d9 /lib/stdlib/test/erl_lint_SUITE.erl
parent6a0ca45bb465150ba47d057ecd6c75681b790aab (diff)
downloadotp-5eeec707215ae88bf88452b0f951af6483d66716.tar.gz
otp-5eeec707215ae88bf88452b0f951af6483d66716.tar.bz2
otp-5eeec707215ae88bf88452b0f951af6483d66716.zip
ssl, public_key, crypto: Change deprecated to removed
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r--lib/stdlib/test/erl_lint_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl
index df38edf393..509b429a9d 100644
--- a/lib/stdlib/test/erl_lint_SUITE.erl
+++ b/lib/stdlib/test/erl_lint_SUITE.erl
@@ -2098,11 +2098,11 @@ otp_5362(Config) when is_list(Config) ->
[{2,erl_lint,disallowed_nowarn_bif_clash}],[]}},
{call_deprecated_function,
- <<"t(X) -> crypto:md5(X).">>,
+ <<"t(X) -> calendar:local_time_to_universal_time(X).">>,
[],
{warnings,
- [{1,erl_lint,{deprecated,{crypto,md5,1},
- {crypto,hash,2}, "a future release"}}]}},
+ [{1,erl_lint,{deprecated,{calendar,local_time_to_universal_time,1},
+ {calendar,local_time_to_universal_time_dst,1}, "a future release"}}]}},
{call_removed_function,
<<"t(X) -> regexp:match(X).">>,