Fix extreme bignum array size in qcbor_decode_tests.c (#183)
The extreme pos/neg bignum arrays are off by one compared to the size listed. There should be 404 bytes, but only 403 are defined.
diff --git a/test/qcbor_decode_tests.c b/test/qcbor_decode_tests.c
index e913854..7adb7a2 100644
--- a/test/qcbor_decode_tests.c
+++ b/test/qcbor_decode_tests.c
@@ -6323,7 +6323,7 @@
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
- 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0},
+ 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0},
404},
0,
QCBOR_ERR_CONVERSION_UNDER_OVER_FLOW,
@@ -6386,7 +6386,7 @@
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
- 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0},
+ 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0},
404},
0,
QCBOR_ERR_CONVERSION_UNDER_OVER_FLOW,