aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_test_lib.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-08-22 14:43:33 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:51 +0200
commit0f397e8c97a556169bac7cc95b6bb98ccd16bf66 (patch)
treee5f1969ebfc12ed90205ff160e26c86668ed5cf8 /lib/mnesia/test/mnesia_test_lib.erl
parentccb3f7f9768d3c28783c771df47eec1829e51802 (diff)
downloadotp-0f397e8c97a556169bac7cc95b6bb98ccd16bf66.tar.gz
otp-0f397e8c97a556169bac7cc95b6bb98ccd16bf66.tar.bz2
otp-0f397e8c97a556169bac7cc95b6bb98ccd16bf66.zip
mnesia (test): Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/mnesia/test/mnesia_test_lib.erl')
-rw-r--r--lib/mnesia/test/mnesia_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/test/mnesia_test_lib.erl b/lib/mnesia/test/mnesia_test_lib.erl
index 0fabdc7929..78dbe7ffde 100644
--- a/lib/mnesia/test/mnesia_test_lib.erl
+++ b/lib/mnesia/test/mnesia_test_lib.erl
@@ -774,7 +774,7 @@ init_nodes([], _File, _Line) ->
%% Returns [Name, Host]
node_to_name_and_host(Node) ->
- string:tokens(atom_to_list(Node), [$@]).
+ string:lexemes(atom_to_list(Node), [$@]).
lookup_config(Key,Config) ->
case lists:keysearch(Key,1,Config) of