some polish on strings

This commit is contained in:
Dustin J. Mitchell
2022-01-25 23:29:52 +00:00
parent ca0279a73f
commit 0d68e65354
8 changed files with 100 additions and 29 deletions

View File

@@ -11,7 +11,7 @@ static void test_task_creation(void) {
TCTask *task = tc_replica_new_task(
rep,
TC_STATUS_PENDING,
tc_string_new("my task"));
tc_string_borrow("my task"));
TEST_ASSERT_NOT_NULL(task);
TEST_ASSERT_EQUAL(TC_STATUS_PENDING, tc_task_get_status(task));