Skip to content

Commit

Permalink
Fix typo in test comment
Browse files Browse the repository at this point in the history
Signed-off-by: Vadym Khoptynets <[email protected]>
  • Loading branch information
poiuj committed May 23, 2024
1 parent ca8a2be commit 75c6eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit/test_sds.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ int test_typesAndAllocSize(int argc, char **argv, int flags) {

/* The test verifies that we can adjust SDS types if an allocator returned
* larger buffer. The maximum length for type SDS_TYPE_X is
* 2^X - header_size(SDS_TYPE_X) - 1. The maxium value to be stored in alloc
* 2^X - header_size(SDS_TYPE_X) - 1. The maximum value to be stored in alloc
* field is 2^X - 1. When allocated buffer is larger than
* 2^X + header_size(SDS_TYPE_X), we "move" to a larger type SDS_TYPE_Y. To be
* sure SDS_TYPE_Y header fits into 2^X + header_size(SDS_TYPE_X) + 1 bytes, the
Expand Down

0 comments on commit 75c6eb5

Please sign in to comment.