TCTags -> TCStrings to be more general

This commit is contained in:
Dustin J. Mitchell
2022-02-06 16:40:17 +00:00
parent 3d248b55fd
commit 831eb0bb15
5 changed files with 42 additions and 42 deletions

View File

@@ -312,7 +312,7 @@ static void test_task_get_tags(void) {
TEST_ASSERT_EQUAL(TC_RESULT_OK, tc_task_add_tag(task, tc_string_borrow("next")));
TCTags tags = tc_task_get_tags(task);
TCStrings tags = tc_task_get_tags(task);
int found_pending = false, found_next = false;
for (size_t i = 0; i < tags.len; i++) {
@@ -326,7 +326,7 @@ static void test_task_get_tags(void) {
TEST_ASSERT_TRUE(found_pending);
TEST_ASSERT_TRUE(found_next);
tc_tags_free(&tags);
tc_strings_free(&tags);
TEST_ASSERT_NULL(tags.items);
tc_task_free(task);