commit | 5d8278864c998a851f0c50adcd0344ae89d3f286 | [log] [tgz] |
---|---|---|
author | Jan Jongboom <janjongboom@gmail.com> | Wed Aug 07 12:51:15 2019 +0200 |
committer | Jan Jongboom <janjongboom@gmail.com> | Wed Aug 07 12:51:15 2019 +0200 |
tree | 1dddc4027f9a5016695b15a55fa0d9937916363e | |
parent | 47d86c5be0b8bc40b1a6352c32ef27c5b12bb11e [diff] [blame] |
Fix map/array encoding with length 31
diff --git a/test/qcbor_encode_tests.h b/test/qcbor_encode_tests.h index ae0241a..6f921c2 100644 --- a/test/qcbor_encode_tests.h +++ b/test/qcbor_encode_tests.h
@@ -116,6 +116,12 @@ */ int SimpleValuesIndefiniteLengthTest1(void); +/* + Indefinite length arrays and maps use the 'magic' number 31, verify that + everything with length 31 still works properly + */ +int EncodeLengthThirtyoneTest(void); + /* Encodes most data formats that are supported */