diff --git a/tests/src/array/src/random.c b/tests/src/array/src/random.c index 22af216..4dcc8b7 100644 --- a/tests/src/array/src/random.c +++ b/tests/src/array/src/random.c @@ -79,5 +79,5 @@ void array_remove_random(arr_t* x, _Bool silent, unsigned int hpos) { } } - put_separator(hpos); + if (!silent) put_separator(hpos); } diff --git a/tests/src/list/src/io.c b/tests/src/list/src/io.c index bbb441f..793ae33 100644 --- a/tests/src/list/src/io.c +++ b/tests/src/list/src/io.c @@ -58,7 +58,7 @@ void visual_remove(list_t* x) { list_print(x, 0, 0); psleep(100000); - if (!0) fputs("\e[u\e[J", stdout); + fputs("\e[u\e[J", stdout); } } diff --git a/tests/src/list/src/random.c b/tests/src/list/src/random.c index 2552978..5a4a1a9 100644 --- a/tests/src/list/src/random.c +++ b/tests/src/list/src/random.c @@ -78,5 +78,5 @@ void list_remove_random(list_t* x, _Bool silent, unsigned int hpos) { } } - put_separator(hpos); + if (!silent) put_separator(hpos); }