aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test_server/ts.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common_test/test_server/ts.erl')
-rw-r--r--lib/common_test/test_server/ts.erl2
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