aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/erl_lint_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-03-21 10:03:37 +0100
committerIngela Anderton Andin <[email protected]>2017-03-21 10:03:37 +0100
commit41962714d0da8738ae536a0325936c12a5a8bd45 (patch)
treeae19244c3635cc85e8294b4eef41f16d395ebd8d /lib/stdlib/test/erl_lint_SUITE.erl
parentf5d23b7b7146f4375dfefe00b208fdfc360d6bcc (diff)
parent5eeec707215ae88bf88452b0f951af6483d66716 (diff)
downloadotp-41962714d0da8738ae536a0325936c12a5a8bd45.tar.gz
otp-41962714d0da8738ae536a0325936c12a5a8bd45.tar.bz2
otp-41962714d0da8738ae536a0325936c12a5a8bd45.zip
Merge branch 'ingela/corrct-otp-internal'
* ingela/corrct-otp-internal: 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 4af1c26c0f..fd7de65302 100644
--- a/lib/stdlib/test/erl_lint_SUITE.erl
+++ b/lib/stdlib/test/erl_lint_SUITE.erl
@@ -2099,11 +2099,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).">>,