aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/test_modified_x420.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-09-06 10:47:57 +0200
committerLukas Larsson <[email protected]>2017-09-12 09:56:07 +0200
commit4cd39050980ad78ec60079b80a76aec5677b1a7f (patch)
tree5de0a05328d1a471b6b8f1521a59bc5fc7bbd225 /lib/asn1/test/test_modified_x420.erl
parent48c2e612e086680efddd48b0f7337345c4b4d1df (diff)
downloadotp-4cd39050980ad78ec60079b80a76aec5677b1a7f.tar.gz
otp-4cd39050980ad78ec60079b80a76aec5677b1a7f.tar.bz2
otp-4cd39050980ad78ec60079b80a76aec5677b1a7f.zip
asn1: Fix test suite deprecated functions
Diffstat (limited to 'lib/asn1/test/test_modified_x420.erl')
-rw-r--r--lib/asn1/test/test_modified_x420.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/test_modified_x420.erl b/lib/asn1/test/test_modified_x420.erl
index 6cd9e0e33b..15f7c70978 100644
--- a/lib/asn1/test/test_modified_x420.erl
+++ b/lib/asn1/test/test_modified_x420.erl
@@ -38,7 +38,7 @@ read_pem(File) ->
extract_base64(Binary) ->
- extract_base64_lines(string:tokens(binary_to_list(Binary), "\n")).
+ extract_base64_lines(string:lexemes(binary_to_list(Binary), "\n")).
extract_base64_lines(["-----BEGIN"++_ | Lines]) ->
take_base64_lines(Lines, _Acc = []);