diff options
author | Björn Gustavsson <[email protected]> | 2013-05-24 07:44:13 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-05-31 14:52:24 +0200 |
commit | 7340d9276e4a0391874b243a618692d23f9738a8 (patch) | |
tree | bfa8dfabb536bb4dcd18d8e2268a269fe3ba2af4 /lib/asn1/test/testCompactBitString.erl | |
parent | 8bb2c7147979d30a06173fe2e08a456cc4745e4a (diff) | |
download | otp-7340d9276e4a0391874b243a618692d23f9738a8.tar.gz otp-7340d9276e4a0391874b243a618692d23f9738a8.tar.bz2 otp-7340d9276e4a0391874b243a618692d23f9738a8.zip |
Extend tests cases for BIT STRING
Diffstat (limited to 'lib/asn1/test/testCompactBitString.erl')
-rw-r--r-- | lib/asn1/test/testCompactBitString.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asn1/test/testCompactBitString.erl b/lib/asn1/test/testCompactBitString.erl index 96d9f0fdcb..28ab2464e9 100644 --- a/lib/asn1/test/testCompactBitString.erl +++ b/lib/asn1/test/testCompactBitString.erl @@ -150,4 +150,6 @@ roundtrip(Type, Val1, Val2) -> roundtrip_1(Mod, Type, In, Out) -> {ok,Encoded} = Mod:encode(Type, In), {ok,Out} = Mod:decode(Type, Encoded), + %% Test that compact BIT STRINGs can be encoded. + {ok,Encoded} = Mod:encode(Type, Out), ok. |