diff options
author | Siri Hansen <[email protected]> | 2017-07-06 16:59:47 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-15 17:07:50 +0200 |
commit | 09e2288b7a42345ea76e5e23ad93346c63efb06d (patch) | |
tree | 80a0814a8156544348979fcb26653fce01f6734c /lib/common_test/test_server/ts.erl | |
parent | 532ab69fce9b7d1dc6974632ed8d17fdab68bd1a (diff) | |
download | otp-09e2288b7a42345ea76e5e23ad93346c63efb06d.tar.gz otp-09e2288b7a42345ea76e5e23ad93346c63efb06d.tar.bz2 otp-09e2288b7a42345ea76e5e23ad93346c63efb06d.zip |
common_test: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/common_test/test_server/ts.erl')
-rw-r--r-- | lib/common_test/test_server/ts.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test_server/ts.erl b/lib/common_test/test_server/ts.erl index 5bfea9f4de..330652e73f 100644 --- a/lib/common_test/test_server/ts.erl +++ b/lib/common_test/test_server/ts.erl @@ -583,7 +583,7 @@ is_list_of_suites(List) -> S = if is_atom(Suite) -> atom_to_list(Suite); true -> Suite end, - try lists:last(string:tokens(S,"_")) of + try lists:last(string:lexemes(S,"_")) of "SUITE" -> true; "suite" -> true; _ -> false |