Skip to content

Commit

Permalink
Update / add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
P-p-H-d committed Nov 30, 2024
1 parent 1db417e commit fb604f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test-mshared-ptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static void test_string(void)
assert(p == r);
assert(shared_string_equal_p(r, p));
assert(!shared_string_equal_p(r, q));
shared_string_t *p2 = shared_string_new_copy(p);
shared_string_t *p2 = shared_string_clone(p);
assert(p2 != p);
assert(shared_string_equal_p(p2, p));
bool b = shared_string_empty_p(p);
Expand Down Expand Up @@ -166,6 +166,8 @@ static void test_string(void)
shared_string_swap(q, r2);
assert(!shared_string_empty_p(r2));
assert(shared_string_empty_p(q));
// todo: shared_string_splice
// todo: shared_string_erase
shared_string_release(r2);
shared_string_clear(q);
shared_string_release(r);
Expand Down

0 comments on commit fb604f0

Please sign in to comment.