Skip to content

Commit

Permalink
Merge branch 'bjorn/asn1/deprecations/OTP-11731'
Browse files Browse the repository at this point in the history
* bjorn/asn1/deprecations/OTP-11731:
  Eliminate warnings for deprecated funtions in test suites
  • Loading branch information
bjorng committed Feb 24, 2014
2 parents 59c3f29 + db3265f commit 15c4e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asn1/test/asn1_SUITE.erl
Expand Up @@ -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()]).
Expand Down
2 changes: 2 additions & 0 deletions lib/asn1/test/testPrimStrings.erl
Expand Up @@ -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]).
Expand Down

0 comments on commit 15c4e79

Please sign in to comment.