diff options
author | Björn Gustavsson <[email protected]> | 2014-02-24 13:29:14 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-02-24 13:29:14 +0100 |
commit | 15c4e79462cd890c2782fc14c9ac9b8cf99ee46f (patch) | |
tree | 6b1fd816eb24545b13a1f11ac23e665b36d490fc /lib | |
parent | 59c3f29702baaade9f8dbba5daec35b4b88df2a0 (diff) | |
parent | db3265f99ba5fb44195f60249e97bf673009e410 (diff) | |
download | otp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.tar.gz otp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.tar.bz2 otp-15c4e79462cd890c2782fc14c9ac9b8cf99ee46f.zip |
Merge branch 'bjorn/asn1/deprecations/OTP-11731'
* bjorn/asn1/deprecations/OTP-11731:
Eliminate warnings for deprecated funtions in test suites
Diffstat (limited to 'lib')
-rw-r--r-- | lib/asn1/test/asn1_SUITE.erl | 2 | ||||
-rw-r--r-- | lib/asn1/test/testPrimStrings.erl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/asn1/test/asn1_SUITE.erl b/lib/asn1/test/asn1_SUITE.erl index 3b34feb5a3..d438300596 100644 --- a/lib/asn1/test/asn1_SUITE.erl +++ b/lib/asn1/test/asn1_SUITE.erl @@ -860,7 +860,7 @@ duplicate_tags(Config) -> rtUI(Config) -> test(Config, fun rtUI/3). rtUI(Config, Rule, Opts) -> asn1_test_lib:compile("Prim", Config, [Rule|Opts]), - {ok, _} = asn1rt:info('Prim'), + _ = 'Prim':info(), Rule = 'Prim':encoding_rule(), io:format("Default BIT STRING format: ~p\n", ['Prim':bit_string_format()]). diff --git a/lib/asn1/test/testPrimStrings.erl b/lib/asn1/test/testPrimStrings.erl index 3262d61a4d..155d6f6ff5 100644 --- a/lib/asn1/test/testPrimStrings.erl +++ b/lib/asn1/test/testPrimStrings.erl @@ -18,6 +18,8 @@ %% %% -module(testPrimStrings). +-compile([{nowarn_deprecated_function,{asn1rt,utf8_list_to_binary,1}}, + {nowarn_deprecated_function,{asn1rt,utf8_binary_to_list,1}}]). -export([bit_string/2]). -export([octet_string/1]). |