aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-02-24 13:00:13 +0100
committerBjörn Gustavsson <[email protected]>2014-02-24 13:06:08 +0100
commitdb3265f99ba5fb44195f60249e97bf673009e410 (patch)
tree63f3481596e4ddfa95f7069f59475103e3cc4705 /lib/asn1/test/asn1_SUITE.erl
parent287a235b3e2d15bb047967263af5246362c5fdd4 (diff)
downloadotp-db3265f99ba5fb44195f60249e97bf673009e410.tar.gz
otp-db3265f99ba5fb44195f60249e97bf673009e410.tar.bz2
otp-db3265f99ba5fb44195f60249e97bf673009e410.zip
Eliminate warnings for deprecated funtions in test suites
Commit e5c71b7 deprecated several all functions in the asn1rt module. As a result, calls to those functions from test suites caused warnings, and as the warnings_as_errors option was active, two test files failed to compile.
Diffstat (limited to 'lib/asn1/test/asn1_SUITE.erl')
-rw-r--r--lib/asn1/test/asn1_SUITE.erl2
1 files changed, 1 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()]).