aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/test_compile_options.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-02-25 09:04:47 +0100
committerBjörn Gustavsson <[email protected]>2014-02-28 11:57:05 +0100
commit7505ac9334c0e0a62dd81f9e0fdee8a1a5a7eb01 (patch)
tree27f95fc38661f7ad1346e75be0a94954fadcd4c0 /lib/asn1/test/test_compile_options.erl
parent0e3d94fef11e126b0d772134cd5b3582aa1169f3 (diff)
downloadotp-7505ac9334c0e0a62dd81f9e0fdee8a1a5a7eb01.tar.gz
otp-7505ac9334c0e0a62dd81f9e0fdee8a1a5a7eb01.tar.bz2
otp-7505ac9334c0e0a62dd81f9e0fdee8a1a5a7eb01.zip
asn1ct_check: Rewrite error checking for INTEGER and BIT STRING
The error checking code for INTEGER and BIT STRING was broken, since it built an error tuple that was never returned. Rewrite the error checking code, sharing most of the code between INTEGER and BIT STRING. Make sure that we test for both duplicated names and number, as well as for negative bit numbers for BIT STRING. This rewrite will eliminate two dialyzer warnings for unmatched returns.
Diffstat (limited to 'lib/asn1/test/test_compile_options.erl')
0 files changed, 0 insertions, 0 deletions