aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/testCompactBitString.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/test/testCompactBitString.erl')
-rw-r--r--lib/asn1/test/testCompactBitString.erl2
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.