aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/otp_SUITE.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-08-22 14:43:54 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:51 +0200
commita3624ab24535458b13abb7e314ed7dfbe3da09ba (patch)
tree703f36f9d93a2e4037c10392deb30c477bd6d42c /erts/test/otp_SUITE.erl
parent0f397e8c97a556169bac7cc95b6bb98ccd16bf66 (diff)
downloadotp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.tar.gz
otp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.tar.bz2
otp-a3624ab24535458b13abb7e314ed7dfbe3da09ba.zip
system (test): Do not use deprecated functions in string(3)
Diffstat (limited to 'erts/test/otp_SUITE.erl')
-rw-r--r--erts/test/otp_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl
index 54fcfd935f..3abe45c141 100644
--- a/erts/test/otp_SUITE.erl
+++ b/erts/test/otp_SUITE.erl
@@ -336,7 +336,7 @@ not_recommended_calls(Config, Apps0, MFA) ->
_ ->
AppStrings = [atom_to_list(A) || A <- SkippedApps],
Mess = io_lib:format("Application(s) not present: ~s\n",
- [string:join(AppStrings, ", ")]),
+ [lists:join(", ", AppStrings)]),
{comment, Mess}
end;
_ ->
@@ -463,7 +463,7 @@ runtime_dependencies(Config) ->
have_rdep(_App, [], _Dep) ->
false;
have_rdep(App, [RDep | RDeps], Dep) ->
- [AppStr, _VsnStr] = string:tokens(RDep, "-"),
+ [AppStr, _VsnStr] = string:lexemes(RDep, "-"),
case Dep == list_to_atom(AppStr) of
true ->
io:format("~p -> ~s~n", [App, RDep]),