Skip to content

Commit

Permalink
lib: darr: disable check
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Dec 9, 2023
1 parent aa04d61 commit c501d16
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/lib/test_darr.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,10 @@ static void test_string(void)
assert(darr_strlen(da1) == srclen);
assert(darr_cap(da1) >= 128);

da2 = da1;
darr_in_strdup_cap(da1, src, 1024);
assert(da1 != da2);
darr_in_strdup_cap(da1, src, 256);
assert(darr_strlen(da1) == srclen);
assert(darr_cap(da1) >= 1024);
assert(darr_cap(da1) >= 256);
darr_free(da1);
da2 = NULL;

da1 = darr_strdup_cap(add, 2);
assert(darr_strlen(da1) == addlen);
Expand Down

0 comments on commit c501d16

Please sign in to comment.