update fmock promt

This commit is contained in:
2023-10-09 11:48:19 +02:00
parent f6f3cd73c9
commit 9efcc770f1
+1 -1
View File
@@ -233,7 +233,7 @@ __attribute__((destructor))
/* list each fmock an each calls */ /* list each fmock an each calls */
while(tmp_list_fm){ while(tmp_list_fm){
tmp_inf_mock = tmp_list_fm->info_mock; tmp_inf_mock = tmp_list_fm->info_mock;
memset(reader,'=',w.ws_col-1); memset(reader,'=',w.ws_col-2);
char *caller=""; char *caller="";
if(tmp_inf_mock->str_caller) caller = extract_func_edited_TEST_from_exec_func_name(tmp_inf_mock->str_caller); if(tmp_inf_mock->str_caller) caller = extract_func_edited_TEST_from_exec_func_name(tmp_inf_mock->str_caller);
size_t len_caller = strlen(caller); size_t len_caller = strlen(caller);