aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/error_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/test/error_SUITE.erl')
-rw-r--r--lib/asn1/test/error_SUITE.erl23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/asn1/test/error_SUITE.erl b/lib/asn1/test/error_SUITE.erl
index d41134e5cb..c097943c75 100644
--- a/lib/asn1/test/error_SUITE.erl
+++ b/lib/asn1/test/error_SUITE.erl
@@ -778,6 +778,9 @@ values(Config) ->
" bs5 BIT STRING ::= holder-2.&str\n"
" bs6 BIT STRING ::= holder-2.&obj\n"
+ " b1 BOOLEAN ::= 42\n"
+ " b2 BOOLEAN ::= {a,b}\n"
+
" HOLDER ::= CLASS {\n"
" &str IA5String,\n"
" &obj HOLDER OPTIONAL\n"
@@ -820,20 +823,24 @@ values(Config) ->
{structured_error,{M,18},asn1ct_check,
{undefined_field,'UndefinedField'}},
{structured_error,{M,19},asn1ct_check,
- illegal_bitstring_value},
+ {illegal_value, "BIT STRING"}},
{structured_error,{M,20},asn1ct_check,
- illegal_bitstring_value},
+ {illegal_value, "BIT STRING"}},
{structured_error,{M,21},asn1ct_check,
- illegal_bitstring_value},
+ {illegal_value, "BIT STRING"}},
{structured_error,{M,22},asn1ct_check,
- illegal_bitstring_value},
+ {illegal_value, "BIT STRING"}},
{structured_error,{M,23},asn1ct_check,
- illegal_bitstring_value},
+ {illegal_value, "BIT STRING"}},
{structured_error,{M,24},asn1ct_check,
- illegal_bitstring_value},
- {structured_error,{M,31},asn1ct_check,
+ {illegal_value, "BIT STRING"}},
+ {structured_error,{M,25},asn1ct_check,
+ {illegal_value, "BOOLEAN"}},
+ {structured_error,{M,26},asn1ct_check,
+ {illegal_value, "BOOLEAN"}},
+ {structured_error,{M,33},asn1ct_check,
illegal_external_value},
- {structured_error,{M,32},asn1ct_check,
+ {structured_error,{M,34},asn1ct_check,
illegal_external_value}
]
} = run(P, Config),