diff --git a/test/proto_kel.cpp b/test/proto_kel.cpp index ba9b7f9..b199b6f 100644 --- a/test/proto_kel.cpp +++ b/test/proto_kel.cpp @@ -39,7 +39,7 @@ GIN_TEST("Primitive Encoding"){ GIN_EXPECT(!error.failed(), error.message()); GIN_EXPECT(temp_buffer.readCompositeLength() == (sizeof(value)+8), "Bad Size: " + std::to_string(temp_buffer.readCompositeLength())); - GIN_EXPECT(temp_buffer[0] == 5 && temp_buffer[1] == 0 && temp_buffer[2] == 0 && temp_buffer[3] == 0, "Wrong encoded values"); + GIN_EXPECT(temp_buffer[8] == 5 && temp_buffer[9] == 0 && temp_buffer[10] == 0 && temp_buffer[11] == 0, "Wrong encoded values"); } GIN_TEST("List Encoding"){