Cleanup, TODO:'s ....
diff --git a/test/qcbor_encode_tests.c b/test/qcbor_encode_tests.c
index 1e91378..2a5e5d9 100644
--- a/test/qcbor_encode_tests.c
+++ b/test/qcbor_encode_tests.c
@@ -514,7 +514,7 @@
int32_t AllAddMethodsTest()
{
- // TODO: this test should be broken down into several so it is more
+ // Improvement: this test should be broken down into several so it is more
// managable. Tags and labels could be more sensible
QCBOREncodeContext ECtx;
int nReturn = 0;
@@ -1950,7 +1950,7 @@
return nReturn;
}
if(Item.uDataType != QCBOR_TYPE_BYTE_STRING) {
- return -1; // TODO: better type?
+ return QCBOR_ERR_UNEXPECTED_TYPE;
}
*pBstr = Item.val.string;