aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testTypeValueNotation.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-01-25 10:38:32 +0100
committerBjörn Gustavsson <[email protected]>2013-01-25 10:38:32 +0100
commit33468dba74d92f83c93e317a28d468c26a699848 (patch)
treebf9672203d9dbf65844e81647134e9b4bdcedfa0 /lib/asn1/test/testTypeValueNotation.erl
parent1342146f167f780d0b558fb78fdf421aef84b64f (diff)
parentb06cbaf8cf12a9b6dcbdc6eab873a6212206ef58 (diff)
downloadotp-33468dba74d92f83c93e317a28d468c26a699848.tar.gz
otp-33468dba74d92f83c93e317a28d468c26a699848.tar.bz2
otp-33468dba74d92f83c93e317a28d468c26a699848.zip
Merge branch 'bjorn/asn1/further-cleanup/OTP-10588'
* bjorn/asn1/further-cleanup/OTP-10588: (28 commits) Don't export encode_disp/2 and decode_disp/2 in generated modules Remove vestiges of support for the {TypeName,Value} notation Simplify the functions for decoding lengths per,uper: Optimize decoding of the remaining data types per,uper: Optimize decoding of the remaining string types Share all code for dec_gen_prim/3 between per/uper back-ends per,uper: Optimize decoding of the string data types testPrimStrings: Test some constraints By default, encode BIT STRING to bitstrings Teach encode functions to accept a bitstring term for a BIT STRING Fix EXTERNAL 1990/1994 conversion information loss uper: Look up some SizeConstraints at compile-time Enumeration decoding: Don't emit a default clause if it cannot match Slightly optimize per encoding of large INTEGERs with constraints BER run-time: Refactor decoding of string data types Refactor decoding of BIT STRINGs Optimize encoding of ENUMERATED in per and uper Remove the unused run-time modules eldap: Remove calls to undocumented asn1rt* functions BER: Correct bug in 'undec_rest' ...
Diffstat (limited to 'lib/asn1/test/testTypeValueNotation.erl')
-rw-r--r--lib/asn1/test/testTypeValueNotation.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/test/testTypeValueNotation.erl b/lib/asn1/test/testTypeValueNotation.erl
index 59f7385f08..d21b054e8d 100644
--- a/lib/asn1/test/testTypeValueNotation.erl
+++ b/lib/asn1/test/testTypeValueNotation.erl
@@ -28,7 +28,7 @@ main(_Rule, _Option) ->
int = 12,
bool = true,
enum = a,
- bitstr = [1, 0, 1, 0],
+ bitstr = <<2#1010:4>>,
null = 'NULL',
oid = {1, 2, 55},
vstr = "Hello World"},