diff options
author | Dan Gudmundsson <[email protected]> | 2017-08-22 14:43:54 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-15 17:07:51 +0200 |
commit | a3624ab24535458b13abb7e314ed7dfbe3da09ba (patch) | |
tree | 703f36f9d93a2e4037c10392deb30c477bd6d42c /erts/test/install_SUITE.erl | |
parent | 0f397e8c97a556169bac7cc95b6bb98ccd16bf66 (diff) | |
download | otp-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/install_SUITE.erl')
-rw-r--r-- | erts/test/install_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/test/install_SUITE.erl b/erts/test/install_SUITE.erl index d6c6d6f30e..324b398caa 100644 --- a/erts/test/install_SUITE.erl +++ b/erts/test/install_SUITE.erl @@ -580,7 +580,7 @@ end_per_testcase(_Case, _Config) -> ok. make_dirs(Root, Suffix) -> - do_make_dirs(Root, string:tokens(Suffix, [$/])). + do_make_dirs(Root, string:lexemes(Suffix, [$/])). do_make_dirs(_Root, []) -> ""; @@ -709,4 +709,4 @@ join("") -> join([""|Ds]) -> join(Ds); join([D|Ds]) -> - "/" ++ string:strip(D, both, $/) ++ join(Ds). + "/" ++ string:trim(D, both, [$/]) ++ join(Ds). |