diff options
author | Björn Gustavsson <[email protected]> | 2016-03-21 14:06:24 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-21 14:06:24 +0100 |
commit | e369312640200396b277e2e63378f86ff965d166 (patch) | |
tree | 30d39ffb0d5b5955cf8f6598750503b47da240b5 /lib/asn1/test/testParameterizedInfObj.erl | |
parent | 4695e77f9884ea92633ec0b3e3fcc3c19d357630 (diff) | |
parent | cb67cfb5320a7f8e37bc9269afcafe62bb6c1d1a (diff) | |
download | otp-e369312640200396b277e2e63378f86ff965d166.tar.gz otp-e369312640200396b277e2e63378f86ff965d166.tar.bz2 otp-e369312640200396b277e2e63378f86ff965d166.zip |
Merge branch 'bjorn/asn1/modernize-tests'
* bjorn/asn1/modernize-tests:
Eliminate suite and doc clauses
Replace ?config() macro with proplists:get_value()
Modernize timetraps
Eliminate ?line macros
Diffstat (limited to 'lib/asn1/test/testParameterizedInfObj.erl')
-rw-r--r-- | lib/asn1/test/testParameterizedInfObj.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/asn1/test/testParameterizedInfObj.erl b/lib/asn1/test/testParameterizedInfObj.erl index 8b0353522d..d7bcde963b 100644 --- a/lib/asn1/test/testParameterizedInfObj.erl +++ b/lib/asn1/test/testParameterizedInfObj.erl @@ -97,7 +97,7 @@ roundtrip(T, V) -> ranap(_Erule) -> PIEVal2 = [{'ProtocolIE-Field',4,ignore,{radioNetwork,'rab-pre-empted'}}], - ?line Val2 = + Val2 = #'InitiatingMessage'{procedureCode=1, criticality=ignore, value=#'Iu-ReleaseCommand'{protocolIEs=PIEVal2, @@ -121,8 +121,8 @@ param2(Config, Erule) -> {'ProtocolIE-Field',101,true}]}), %% Now remove the data after the extension mark in the object set. - DataDir = ?config(data_dir, Config), - CaseDir = ?config(case_dir, Config), + DataDir = proplists:get_value(data_dir, Config), + CaseDir = proplists:get_value(case_dir, Config), Asn1SrcBase = "Param2.asn1", Asn1SrcFile0 = filename:join(DataDir, Asn1SrcBase), {ok,Src0} = file:read_file(Asn1SrcFile0), |