diff --git a/comid/integrityregisters_test.go b/comid/integrityregisters_test.go index a914e287..743ae6c4 100644 --- a/comid/integrityregisters_test.go +++ b/comid/integrityregisters_test.go @@ -64,6 +64,8 @@ func TestIntegrityRegisters_AddDigests_NOK(t *testing.T) { func TestIntegrityRegisters_MarshalCBOR_UIntIndex_OK(t *testing.T) { reg, err := prepareRegister(t, "uint") + // Below is the partial CBOR Pretty notation to highlight index as uint: unsigned(0) (at line 70) + // A5 # map(5) // 00 # unsigned(0) // 81 # array(1) @@ -136,6 +138,8 @@ func TestIntegrityRegisters_MarshalJSON_UIntIndex_OK(t *testing.T) { func TestIntegrityRegisters_MarshalCBOR_TextIndex_OK(t *testing.T) { reg, err := prepareRegister(t, "text") + // Below is the partial CBOR Pretty notation to highlight index as text: "0" (at line 143) + // A5 # map(5) // 61 # text(1) // 30 # "0"