aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/test_server_test_lib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common_test/test/test_server_test_lib.erl')
-rw-r--r--lib/common_test/test/test_server_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/test_server_test_lib.erl b/lib/common_test/test/test_server_test_lib.erl
index c18b89b178..e3d987a2ea 100644
--- a/lib/common_test/test/test_server_test_lib.erl
+++ b/lib/common_test/test/test_server_test_lib.erl
@@ -43,7 +43,7 @@ pre_init_per_testcase(_TC,Config,State) ->
{start_slave(Config, 50),State}.
start_slave(Config,_Level) ->
- [_,Host] = string:tokens(atom_to_list(node()), "@"),
+ [_,Host] = string:lexemes(atom_to_list(node()), "@"),
ct:log("Trying to start ~s~n",
["test_server_tester@"++Host]),