diff options
author | Björn Gustavsson <[email protected]> | 2013-01-08 10:56:27 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-23 15:22:56 +0100 |
commit | 74cee7dc1cc5b0332cd851da4953ebbb98224b5f (patch) | |
tree | ff539fdce7055f51fb437bc906358f073d77a620 /lib/asn1/test/testTypeValueNotation.erl | |
parent | 625d2b01dcaa0b15cc9ff7f98438bcd81a5bddc8 (diff) | |
download | otp-74cee7dc1cc5b0332cd851da4953ebbb98224b5f.tar.gz otp-74cee7dc1cc5b0332cd851da4953ebbb98224b5f.tar.bz2 otp-74cee7dc1cc5b0332cd851da4953ebbb98224b5f.zip |
By default, encode BIT STRING to bitstrings
Add the option 'legacy_bit_string' to decode to the old list format.
Diffstat (limited to 'lib/asn1/test/testTypeValueNotation.erl')
-rw-r--r-- | lib/asn1/test/testTypeValueNotation.erl | 2 |
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"}, |