error codes are now enums because they show up in the debugger. Lots of documentation clean up for errors
diff --git a/test/qcbor_decode_tests.c b/test/qcbor_decode_tests.c
index 217a599..86c62bb 100644
--- a/test/qcbor_decode_tests.c
+++ b/test/qcbor_decode_tests.c
@@ -2276,7 +2276,7 @@
       return -9;
    }
    
-   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_INDEFINITE_STRING_SEG) {
+   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_INDEFINITE_STRING_CHUNK) {
       return -10;
    }
 
@@ -2294,7 +2294,7 @@
       return -13;
    }
    
-   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_INDEFINITE_STRING_SEG) {
+   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_INDEFINITE_STRING_CHUNK) {
       return -14;
    }
 
@@ -2351,7 +2351,7 @@
    if(Item.uDataType != QCBOR_TYPE_ARRAY) {
       return -23;
    }
-   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_STRING_ALLOC) {
+   if(QCBORDecode_GetNext(&DC, &Item) != QCBOR_ERR_STRING_ALLOCATE) {
       return -24;
    }
    
@@ -2492,7 +2492,7 @@
          }
       }
    }
-   if(nCBORError != QCBOR_ERR_STRING_ALLOC) {
+   if(nCBORError != QCBOR_ERR_STRING_ALLOCATE) {
       return -5;
    }