]> Kevux Git Server - fll/commitdiff
Regression: Tests failing due to incomplete refactor.
authorKevin Day <thekevinday@gmail.com>
Tue, 15 Feb 2022 17:40:31 +0000 (11:40 -0600)
committerKevin Day <thekevinday@gmail.com>
Tue, 15 Feb 2022 17:40:31 +0000 (11:40 -0600)
The f_type_array_lengths_resize() is now f_array_lengths_resize().

level_0/f_console/tests/unit/c/test-console-parameters_delete.c
level_0/f_console/tests/unit/c/test-console-parameters_destroy.c

index 6eb1b4828495e0a178adf73e72b4abbdfc6a4189..68de1744749061907415e905d17a589a42ac8a9d 100644 (file)
@@ -25,7 +25,7 @@ void test__f_console_parameters_delete__frees_memory(void **state) {
   }
 
   {
-    const f_status_t status = f_type_array_lengths_resize(3, &parameters.array[0].locations);
+    const f_status_t status = f_array_lengths_resize(3, &parameters.array[0].locations);
 
     assert_int_equal(status, F_none);
     assert_int_not_equal(parameters.array[0].locations.size, 0);
@@ -33,7 +33,7 @@ void test__f_console_parameters_delete__frees_memory(void **state) {
   }
 
   {
-    const f_status_t status = f_type_array_lengths_resize(size, &parameters.array[0].locations_sub);
+    const f_status_t status = f_array_lengths_resize(size, &parameters.array[0].locations_sub);
 
     assert_int_equal(status, F_none);
     assert_int_not_equal(parameters.array[0].locations_sub.size, 0);
index a4ac15c94d92491326d176aa53ca9ad71225f53a..33c8070e3b5f5d852fe6dcd1ee8395eac8469f92 100644 (file)
@@ -25,7 +25,7 @@ void test__f_console_parameters_destroy__frees_memory(void **state) {
   }
 
   {
-    const f_status_t status = f_type_array_lengths_resize(size, &parameters.array[0].locations);
+    const f_status_t status = f_array_lengths_resize(size, &parameters.array[0].locations);
 
     assert_int_equal(status, F_none);
     assert_int_not_equal(parameters.array[0].locations.size, 0);
@@ -33,7 +33,7 @@ void test__f_console_parameters_destroy__frees_memory(void **state) {
   }
 
   {
-    const f_status_t status = f_type_array_lengths_resize(size, &parameters.array[0].locations_sub);
+    const f_status_t status = f_array_lengths_resize(size, &parameters.array[0].locations_sub);
 
     assert_int_equal(status, F_none);
     assert_int_not_equal(parameters.array[0].locations_sub.size, 0);